public enum TransactionType extends Enum<TransactionType> implements SphereEnumeration
SphereEnumeration.| Enum Constant and Description |
|---|
AUTHORIZATION |
CANCEL_AUTHORIZATION |
CHARGE |
CHARGEBACK |
REFUND |
| Modifier and Type | Method and Description |
|---|---|
static TransactionType |
ofSphereValue(String value) |
static TransactionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffindBySphereName, name, toSphereNamepublic static final TransactionType AUTHORIZATION
public static final TransactionType CANCEL_AUTHORIZATION
public static final TransactionType CHARGE
public static final TransactionType REFUND
public static final TransactionType CHARGEBACK
public static TransactionType[] values()
for (TransactionType c : TransactionType.values()) System.out.println(c);
public static TransactionType 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 nullpublic static TransactionType ofSphereValue(String value)