public enum CardActivationMethod extends Enum<CardActivationMethod>
Enum Constant and Description |
---|
CVV
use the CVV to activate the card
|
LAST4
Use the Last 4 digits of the PAN to activate the card.
|
NOTHING
No input is required for the activation.
|
Modifier and Type | Method and 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.
|
public static final CardActivationMethod CVV
public static final CardActivationMethod LAST4
public static final CardActivationMethod NOTHING
public static CardActivationMethod[] values()
for (CardActivationMethod c : CardActivationMethod.values()) System.out.println(c);
public static CardActivationMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null