Package com.adyen.model.checkout
Enum ExternalTokenDetails.SubtypeEnum
- java.lang.Object
-
- java.lang.Enum<ExternalTokenDetails.SubtypeEnum>
-
- com.adyen.model.checkout.ExternalTokenDetails.SubtypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ExternalTokenDetails.SubtypeEnum>
- Enclosing class:
- ExternalTokenDetails
public static enum ExternalTokenDetails.SubtypeEnum extends Enum<ExternalTokenDetails.SubtypeEnum>
The external service from which to fetch the token. Supported only for specific companies. Contact Adyen if you want to use this feature.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HILTON
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalTokenDetails.SubtypeEnumfromValue(String value)StringgetValue()StringtoString()static ExternalTokenDetails.SubtypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ExternalTokenDetails.SubtypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HILTON
public static final ExternalTokenDetails.SubtypeEnum HILTON
-
-
Method Detail
-
values
public static ExternalTokenDetails.SubtypeEnum[] 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 (ExternalTokenDetails.SubtypeEnum c : ExternalTokenDetails.SubtypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExternalTokenDetails.SubtypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ExternalTokenDetails.SubtypeEnum>
-
fromValue
public static ExternalTokenDetails.SubtypeEnum fromValue(String value)
-
-