public enum PaymentStatus extends java.lang.Enum<PaymentStatus>
Enum Constant and Description |
---|
AUTHORIZED |
CANCELED |
COMPLETED |
DECLINED |
FAILED |
HOLD |
READ_CARD_ONLY |
REFUNDED |
VOIDED |
Modifier and Type | Method and Description |
---|---|
static PaymentStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentStatus COMPLETED
public static final PaymentStatus AUTHORIZED
public static final PaymentStatus VOIDED
public static final PaymentStatus REFUNDED
public static final PaymentStatus CANCELED
public static final PaymentStatus FAILED
public static final PaymentStatus HOLD
public static final PaymentStatus DECLINED
public static final PaymentStatus READ_CARD_ONLY
public static PaymentStatus[] values()
for (PaymentStatus c : PaymentStatus.values()) System.out.println(c);
public static PaymentStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null