public enum CardType extends Enum<CardType>
| Enum Constant and Description |
|---|
AmericanExpress |
BCCard |
CartaSi |
CarteBlanche |
CarteBleue |
ChinaUnionPay |
Dankort |
Delta |
DinersClub |
Discover |
Electron |
JapanCreditBureau |
Maestro |
MasterCard |
None |
Solo |
Switch |
Visa |
| Modifier and Type | Method and Description |
|---|---|
static CardType |
valueOf(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 Visa
public static final CardType AmericanExpress
public static final CardType BCCard
public static final CardType MasterCard
public static final CardType CarteBlanche
public static final CardType ChinaUnionPay
public static final CardType Discover
public static final CardType DinersClub
public static final CardType CartaSi
public static final CardType CarteBleue
public static final CardType Dankort
public static final CardType Delta
public static final CardType Electron
public static final CardType JapanCreditBureau
public static final CardType Maestro
public static final CardType Switch
public static final CardType Solo
public static final CardType None
public static CardType[] values()
for (CardType c : CardType.values()) System.out.println(c);
public static 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 © 2014 BillForward. All rights reserved.