Package com.adyen.model.tapi
Enum IdentificationSupport
- java.lang.Object
-
- java.lang.Enum<IdentificationSupport>
-
- com.adyen.model.tapi.IdentificationSupport
-
- All Implemented Interfaces:
Serializable,Comparable<IdentificationSupport>
public enum IdentificationSupport extends Enum<IdentificationSupport>
Support of the loyalty account identification. Allows knowing where and how you have found the loyalty account identification. Possible values: * **HybridCard** * **LinkedCard** * **LoyaltyCard** * **NoCard**
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HYBRID_CARDLINKED_CARDLOYALTY_CARDNO_CARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentificationSupportfromValue(String value)StringgetValue()StringtoString()static IdentificationSupportvalueOf(String name)Returns the enum constant of this type with the specified name.static IdentificationSupport[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HYBRID_CARD
public static final IdentificationSupport HYBRID_CARD
-
LINKED_CARD
public static final IdentificationSupport LINKED_CARD
-
LOYALTY_CARD
public static final IdentificationSupport LOYALTY_CARD
-
NO_CARD
public static final IdentificationSupport NO_CARD
-
-
Method Detail
-
values
public static IdentificationSupport[] 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 (IdentificationSupport c : IdentificationSupport.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdentificationSupport 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<IdentificationSupport>
-
fromValue
public static IdentificationSupport fromValue(String value)
-
-