public enum TransactionMode extends java.lang.Enum<TransactionMode>
Enum Constant and Description |
---|
AUTHORIZE_CAPTURE
Authorize capture transaction mode.
|
PURCHASE
Purchase transaction mode.
|
SAVE_CARD
Save card transaction mode.
|
TOKENIZE_CARD
Tokenize card mode.
|
Modifier and Type | Method and Description |
---|---|
static TransactionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="PURCHASE") public static final TransactionMode PURCHASE
@SerializedName(value="AUTHORIZE_CAPTURE") public static final TransactionMode AUTHORIZE_CAPTURE
@SerializedName(value="SAVE_CARD") public static final TransactionMode SAVE_CARD
@SerializedName(value="TOKENIZE_CARD") public static final TransactionMode TOKENIZE_CARD
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode 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