public static enum Storefront.CardBrand extends java.lang.Enum<Storefront.CardBrand>
| Enum Constant and Description |
|---|
AMERICAN_EXPRESS
American Express.
|
DINERS_CLUB
Diners Club.
|
DISCOVER
Discover.
|
JCB
JCB.
|
MASTERCARD
Mastercard.
|
UNKNOWN_VALUE |
VISA
Visa.
|
| Modifier and Type | Method and Description |
|---|---|
static Storefront.CardBrand |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.CardBrand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.CardBrand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.CardBrand AMERICAN_EXPRESS
public static final Storefront.CardBrand DINERS_CLUB
public static final Storefront.CardBrand DISCOVER
public static final Storefront.CardBrand JCB
public static final Storefront.CardBrand MASTERCARD
public static final Storefront.CardBrand VISA
public static final Storefront.CardBrand UNKNOWN_VALUE
public static Storefront.CardBrand[] values()
for (Storefront.CardBrand c : Storefront.CardBrand.values()) System.out.println(c);
public static Storefront.CardBrand 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.CardBrand fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.CardBrand>