public enum TransactionStatus extends Enum<TransactionStatus>
| Enum Constant and Description |
|---|
PAYMENT_FAILURE |
PAYMENT_SYSTEM_OFF |
PENDING |
PLUGIN_FAILURE |
SUCCESS |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static TransactionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionStatus SUCCESS
public static final TransactionStatus UNKNOWN
public static final TransactionStatus PENDING
public static final TransactionStatus PAYMENT_FAILURE
public static final TransactionStatus PLUGIN_FAILURE
public static final TransactionStatus PAYMENT_SYSTEM_OFF
public static TransactionStatus[] values()
for (TransactionStatus c : TransactionStatus.values()) System.out.println(c);
public static TransactionStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2010-2016. All Rights Reserved.