public static enum Storefront.TransactionKind extends java.lang.Enum<Storefront.TransactionKind>
| Enum Constant and Description |
|---|
AUTHORIZATION
An amount reserved against the cardholder's funding source.
|
CAPTURE
A transfer of the money that was reserved during the authorization stage.
|
CHANGE
Money returned to the customer when they have paid too much.
|
EMV_AUTHORIZATION
An authorization for a payment taken with an EMV credit card reader.
|
SALE
An authorization and capture performed together in a single step.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.TransactionKind |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.TransactionKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.TransactionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.TransactionKind AUTHORIZATION
public static final Storefront.TransactionKind CAPTURE
public static final Storefront.TransactionKind CHANGE
public static final Storefront.TransactionKind EMV_AUTHORIZATION
public static final Storefront.TransactionKind SALE
public static final Storefront.TransactionKind UNKNOWN_VALUE
public static Storefront.TransactionKind[] values()
for (Storefront.TransactionKind c : Storefront.TransactionKind.values()) System.out.println(c);
public static Storefront.TransactionKind 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 nullpublic static Storefront.TransactionKind fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.TransactionKind>