Package com.braintreegateway
Enum SandboxValues.CreditCardNumber.AmexPayWithPoints
- java.lang.Object
-
- java.lang.Enum<SandboxValues.CreditCardNumber.AmexPayWithPoints>
-
- com.braintreegateway.SandboxValues.CreditCardNumber.AmexPayWithPoints
-
- All Implemented Interfaces:
Serializable,Comparable<SandboxValues.CreditCardNumber.AmexPayWithPoints>
- Enclosing class:
- SandboxValues.CreditCardNumber
public static enum SandboxValues.CreditCardNumber.AmexPayWithPoints extends Enum<SandboxValues.CreditCardNumber.AmexPayWithPoints>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INELIGIBLE_CARDINSUFFICIENT_POINTSSUCCESS
-
Constructor Summary
Constructors Modifier Constructor Description privateAmexPayWithPoints(String number)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SandboxValues.CreditCardNumber.AmexPayWithPointsvalueOf(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.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints SUCCESS
-
INELIGIBLE_CARD
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints INELIGIBLE_CARD
-
INSUFFICIENT_POINTS
public static final SandboxValues.CreditCardNumber.AmexPayWithPoints INSUFFICIENT_POINTS
-
-
Field Detail
-
number
public String number
-
-
Constructor Detail
-
AmexPayWithPoints
private AmexPayWithPoints(String number)
-
-
Method Detail
-
values
public static SandboxValues.CreditCardNumber.AmexPayWithPoints[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SandboxValues.CreditCardNumber.AmexPayWithPoints c : SandboxValues.CreditCardNumber.AmexPayWithPoints.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SandboxValues.CreditCardNumber.AmexPayWithPoints valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-