public static enum BankCard.CardType extends Enum<BankCard.CardType>
| Enum Constant and Description |
|---|
EMV_CONTACT |
EMV_CONTACTLESS |
MAG_STRIPE |
| Modifier and Type | Method and Description |
|---|---|
static BankCard.CardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BankCard.CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BankCard.CardType MAG_STRIPE
public static final BankCard.CardType EMV_CONTACT
public static final BankCard.CardType EMV_CONTACTLESS
public static BankCard.CardType[] values()
for (BankCard.CardType c : BankCard.CardType.values()) System.out.println(c);
public static BankCard.CardType 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 nullCopyright © 2018. All rights reserved.