public static enum Storefront.PaymentTokenType extends java.lang.Enum<Storefront.PaymentTokenType>
| Enum Constant and Description |
|---|
APPLE_PAY
Apple Pay token type.
|
GOOGLE_PAY
Google Pay token type.
|
SHOPIFY_PAY
Shopify Pay token type.
|
UNKNOWN_VALUE |
VAULT
Vault payment token type.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.PaymentTokenType |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.PaymentTokenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.PaymentTokenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.PaymentTokenType APPLE_PAY
public static final Storefront.PaymentTokenType GOOGLE_PAY
public static final Storefront.PaymentTokenType SHOPIFY_PAY
public static final Storefront.PaymentTokenType VAULT
public static final Storefront.PaymentTokenType UNKNOWN_VALUE
public static Storefront.PaymentTokenType[] values()
for (Storefront.PaymentTokenType c : Storefront.PaymentTokenType.values()) System.out.println(c);
public static Storefront.PaymentTokenType 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.PaymentTokenType fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.PaymentTokenType>