public enum CardVerification extends java.lang.Enum<CardVerification>
Enum Constant and Description |
---|
REAL_AMOUNT_DEBIT |
ZERO_AMOUNT_DEBIT |
Modifier and Type | Method and Description |
---|---|
static CardVerification |
forCode(int code) |
int |
getValue() |
static CardVerification |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardVerification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardVerification ZERO_AMOUNT_DEBIT
public static final CardVerification REAL_AMOUNT_DEBIT
public static CardVerification[] values()
for (CardVerification c : CardVerification.values()) System.out.println(c);
public static CardVerification valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static CardVerification forCode(int code)