Package com.skava.oms.model
Enum Class PaymentItem.StatusEnum
- All Implemented Interfaces:
Serializable
,Comparable<PaymentItem.StatusEnum>
,Constable
- Enclosing class:
- PaymentItem
Indicates the current status of a particular payment. The status of the payment used for different scenarios are:
- PREAUTHORIZED - When an order comes from the cart
- AUTHORIZED - When an order is submitted
- AUTHORIZATION_PENDING - When the submitted order's payment is pending
- AUTHORIZATION_CANCELED - When a submitted order is cancelled
- AUTHORIZATION_CANCELED_PENDING - When the cancelled order's payment is pending
- SETTLED - When the order is charged
- SETTLED_FULFILLED - When the order's payment is completed
- SETTLED_PENDING - When the order's payment is pending
- REFUNDED - When the order's payment is refunded
- REFUND_PENDING - When the order's refund is pending
- BADDEBT - When the order has bad debt
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PaymentItem.StatusEnum
Returns the enum constant of this class with the specified name.static PaymentItem.StatusEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PREAUTHORIZED
-
AUTHORIZED
-
AUTHORIZATION_PENDING
-
AUTHORIZATION_CANCELED
-
AUTHORIZATION_CANCELED_PENDING
-
SETTLED
-
SETTLED_FULFILLED
-
SETTLED_PENDING
-
REFUNDED
-
REFUND_PENDING
-
BADDEBT
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-