public enum CardScheme extends java.lang.Enum<CardScheme>
Enum Constant and Description |
---|
AMERICAN_EXPRESS |
DINERS |
DISCOVER |
MASTERCARD |
VISA |
Modifier and Type | Method and Description |
---|---|
byte[][] |
getApplicationIdentifiers() |
static CardScheme |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardScheme VISA
public static final CardScheme MASTERCARD
public static final CardScheme AMERICAN_EXPRESS
public static final CardScheme DISCOVER
public static final CardScheme DINERS
public static CardScheme[] values()
for (CardScheme c : CardScheme.values()) System.out.println(c);
public static CardScheme 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 byte[][] getApplicationIdentifiers()