public static enum Storefront.TransactionStatus extends java.lang.Enum<Storefront.TransactionStatus>
| Enum Constant and Description |
|---|
ERROR
There was an error while processing the transaction.
|
FAILURE
The transaction failed.
|
PENDING
The transaction is pending.
|
SUCCESS
The transaction succeeded.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.TransactionStatus |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.TransactionStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.TransactionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.TransactionStatus ERROR
public static final Storefront.TransactionStatus FAILURE
public static final Storefront.TransactionStatus PENDING
public static final Storefront.TransactionStatus SUCCESS
public static final Storefront.TransactionStatus UNKNOWN_VALUE
public static Storefront.TransactionStatus[] values()
for (Storefront.TransactionStatus c : Storefront.TransactionStatus.values()) System.out.println(c);
public static Storefront.TransactionStatus 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.TransactionStatus fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.TransactionStatus>