Package com.thalesgroup.gemalto.d1.card
Enum CardActivationMethod
- java.lang.Object
-
- java.lang.Enum<CardActivationMethod>
-
- com.thalesgroup.gemalto.d1.card.CardActivationMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<CardActivationMethod>
public enum CardActivationMethod extends Enum<CardActivationMethod>
Enumeration type for Physical Card Activation Method to indicate the intended method of physical card activation.- Since:
- 1.1.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CardActivationMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static CardActivationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CVV
public static final CardActivationMethod CVV
Uses the CVV to activate the card.
-
LAST4
public static final CardActivationMethod LAST4
Uses the last 4 digits of the PAN to activate the card.
-
NOTHING
public static final CardActivationMethod NOTHING
No input is required for the activation.
-
-
Method Detail
-
values
public static CardActivationMethod[] 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 (CardActivationMethod c : CardActivationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CardActivationMethod 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
-
-