Package com.braintreegateway
Enum SandboxValues.ExpirationDate
- java.lang.Object
-
- java.lang.Enum<SandboxValues.ExpirationDate>
-
- com.braintreegateway.SandboxValues.ExpirationDate
-
- All Implemented Interfaces:
Serializable,Comparable<SandboxValues.ExpirationDate>
- Enclosing class:
- SandboxValues
public static enum SandboxValues.ExpirationDate extends Enum<SandboxValues.ExpirationDate>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADYEN
-
Field Summary
Fields Modifier and Type Field Description Stringexpiration
-
Constructor Summary
Constructors Modifier Constructor Description privateExpirationDate(String expiration)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SandboxValues.ExpirationDatevalueOf(String name)Returns the enum constant of this type with the specified name.static SandboxValues.ExpirationDate[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADYEN
public static final SandboxValues.ExpirationDate ADYEN
-
-
Field Detail
-
expiration
public String expiration
-
-
Constructor Detail
-
ExpirationDate
private ExpirationDate(String expiration)
-
-
Method Detail
-
values
public static SandboxValues.ExpirationDate[] 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.ExpirationDate c : SandboxValues.ExpirationDate.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.ExpirationDate 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
-
-