Enum Class RefundReason

java.lang.Object
java.lang.Enum<RefundReason>
com.inttegro.refunds.RefundReason
All Implemented Interfaces:
Serializable, Comparable<RefundReason>, Constable

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

    • REQUESTED_BY_CUSTOMER

      public static final RefundReason REQUESTED_BY_CUSTOMER
    • DUPLICATE

      public static final RefundReason DUPLICATE
    • FRAUDULENT

      public static final RefundReason FRAUDULENT
    • ORDER_CANCELED

      public static final RefundReason ORDER_CANCELED
    • ITEM_RETURNED

      public static final RefundReason ITEM_RETURNED
    • ITEM_DAMAGED

      public static final RefundReason ITEM_DAMAGED
    • ITEM_NOT_RECEIVED

      public static final RefundReason ITEM_NOT_RECEIVED
    • ITEM_NOT_AS_DESCRIBED

      public static final RefundReason ITEM_NOT_AS_DESCRIBED
    • CUSTOM

      public static final RefundReason CUSTOM
  • Method Details

    • values

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

      public static RefundReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null