public static enum SandboxValues.CreditCardNumber.AmexPayWithPoints extends Enum<SandboxValues.CreditCardNumber.AmexPayWithPoints>
Enum Constant and Description |
---|
INELIGIBLE_CARD |
INSUFFICIENT_POINTS |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static SandboxValues.CreditCardNumber.AmexPayWithPoints |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SandboxValues.CreditCardNumber.AmexPayWithPoints[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints SUCCESS
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints INELIGIBLE_CARD
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints INSUFFICIENT_POINTS
public String number
public static SandboxValues.CreditCardNumber.AmexPayWithPoints[] values()
for (SandboxValues.CreditCardNumber.AmexPayWithPoints c : SandboxValues.CreditCardNumber.AmexPayWithPoints.values()) System.out.println(c);
public static SandboxValues.CreditCardNumber.AmexPayWithPoints valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013-2019. All Rights Reserved.