| Enum Constant and Description |
|---|
AMERICAN_EXPRESS
Deprecated.
|
DINERS_CLUB
Deprecated.
|
DISCOVER
Deprecated.
|
ECHECK
Deprecated.
|
JCB
Deprecated.
|
MASTER_CARD
Deprecated.
|
UNKNOWN
Deprecated.
|
VISA
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static CardType |
findByValue(java.lang.String value)
Deprecated.
|
java.lang.String |
getValue()
Deprecated.
|
static CardType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CardType[] |
values()
Deprecated.
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 MASTER_CARD
public static final CardType AMERICAN_EXPRESS
public static final CardType DISCOVER
public static final CardType DINERS_CLUB
public static final CardType JCB
public static final CardType ECHECK
public static final CardType UNKNOWN
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 nullpublic static CardType findByValue(java.lang.String value)
public java.lang.String getValue()
Copyright © 2018. All Rights Reserved.