content: /*
   * Selling Partner APIs for Fulfillment Outbound
   * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon's fulfillment network. You can get information on both potential and existing fulfillment orders.
   *
   * OpenAPI spec version: 2020-07-01
   * 
   *
   * NOTE: This class is auto generated by the swagger code generator program.
   * https://github.com/swagger-api/swagger-codegen.git
   * Do not edit the class manually.
   */
  
  
  package io.swagger.client.model.fbao;
  
  import java.util.Objects;
  import java.util.Arrays;
  import io.swagger.annotations.ApiModel;
  import com.google.gson.annotations.SerializedName;
  
  import java.io.IOException;
  import com.google.gson.TypeAdapter;
  import com.google.gson.annotations.JsonAdapter;
  import com.google.gson.stream.JsonReader;
  import com.google.gson.stream.JsonWriter;
  
  /**
   * The current delivery status of the package.
   */
  @JsonAdapter(CurrentStatus.Adapter.class)
  public enum CurrentStatus {
    
    IN_TRANSIT("IN_TRANSIT"),
    
    DELIVERED("DELIVERED"),
    
    RETURNING("RETURNING"),
    
    RETURNED("RETURNED"),
    
    UNDELIVERABLE("UNDELIVERABLE"),
    
    DELAYED("DELAYED"),
    
    AVAILABLE_FOR_PICKUP("AVAILABLE_FOR_PICKUP"),
    
    CUSTOMER_ACTION("CUSTOMER_ACTION"),
    
    UNKNOWN("UNKNOWN"),
    
    OUT_FOR_DELIVERY("OUT_FOR_DELIVERY"),
    
    DELIVERY_ATTEMPTED("DELIVERY_ATTEMPTED"),
    
    PICKUP_SUCCESSFUL("PICKUP_SUCCESSFUL"),
    
    PICKUP_CANCELLED("PICKUP_CANCELLED"),
    
    PICKUP_ATTEMPTED("PICKUP_ATTEMPTED"),
    
    PICKUP_SCHEDULED("PICKUP_SCHEDULED"),
    
    RETURN_REQUEST_ACCEPTED("RETURN_REQUEST_ACCEPTED"),
    
    REFUND_ISSUED("REFUND_ISSUED"),
    
    RETURN_RECEIVED_IN_FC("RETURN_RECEIVED_IN_FC");
  
    private String value;
  
    CurrentStatus(String value) {
      this.value = value;
    }
  
    public String getValue() {
      return value;
    }
  
    @Override
    public String toString() {
      return String.valueOf(value);
    }
  
    public static CurrentStatus fromValue(String text) {
      for (CurrentStatus b : CurrentStatus.values()) {
        if (String.valueOf(b.value).equals(text)) {
          return b;
        }
      }
      return null;
    }
  
    public static class Adapter extends TypeAdapter<CurrentStatus> {
      @Override
      public void write(final JsonWriter jsonWriter, final CurrentStatus enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }
  
      @Override
      public CurrentStatus read(final JsonReader jsonReader) throws IOException {
        String value = jsonReader.nextString();
        return CurrentStatus.fromValue(String.valueOf(value));
      }
    }
  }
  
  