Enum Constant and Description |
---|
Bonus
The card is a pure bonus card.
|
Other
The card is not configured as a payment card or as a bonus card.
|
Payment
The card is a pure payment card.
|
PaymentWithBonus
Deprecated.
This kind of card is not supported by the terminal. It was included for
historical reasons only, and it will be removed in later releases.
|
Modifier and Type | Method and Description |
---|---|
static CardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardType Payment
public static final CardType Bonus
@Deprecated public static final CardType PaymentWithBonus
public static final CardType Other
public static CardType[] values()
for (CardType c : CardType.values()) System.out.println(c);
public static 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