Enum OrderStatus

java.lang.Object
java.lang.Enum<OrderStatus>
com.amilesend.discogs.model.marketplace.type.OrderStatus
All Implemented Interfaces:
Serializable, Comparable<OrderStatus>

public enum OrderStatus extends Enum<OrderStatus>
  • Enum Constant Details

    • NEW_ORDER

      public static final OrderStatus NEW_ORDER
    • BUYER_CONTACTED

      public static final OrderStatus BUYER_CONTACTED
    • INVOICE_SENT

      public static final OrderStatus INVOICE_SENT
    • PAYMENT_PENDING

      public static final OrderStatus PAYMENT_PENDING
    • PAYMENT_RECEIVED

      public static final OrderStatus PAYMENT_RECEIVED
    • IN_PROGRESS

      public static final OrderStatus IN_PROGRESS
    • SHIPPED

      public static final OrderStatus SHIPPED
    • REFUND_SENT

      public static final OrderStatus REFUND_SENT
    • CANCELLED_NON_PAYMENT

      public static final OrderStatus CANCELLED_NON_PAYMENT
    • CANCELLED_ITEM_UNAVAILABLE

      public static final OrderStatus CANCELLED_ITEM_UNAVAILABLE
    • CANCELLED_BUYER_REQUEST

      public static final OrderStatus CANCELLED_BUYER_REQUEST
  • Field Details

    • QUERY_PARAM_NAME

      public static String QUERY_PARAM_NAME
  • Method Details

    • values

      public static OrderStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OrderStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<OrderStatus>
    • fromValue

      public static OrderStatus fromValue(String value)
      Gets the Condition enum from the given value.
      Parameters:
      value - the value
      Returns:
      the condition, or null
    • getValue

      public String getValue()