public static enum Constants.CardType extends java.lang.Enum<Constants.CardType>
| Enum Constant and Description |
|---|
BANK_ACCOUNT |
CARD |
CASH |
CHECK |
| Modifier and Type | Method and Description |
|---|---|
static Constants.CardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.CardType CHECK
public static final Constants.CardType CARD
public static final Constants.CardType BANK_ACCOUNT
public static final Constants.CardType CASH
public static Constants.CardType[] values()
for (Constants.CardType c : Constants.CardType.values()) System.out.println(c);
public static Constants.CardType 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 null