public static enum RestCard.CardType extends Enum<RestCard.CardType>
| Enum Constant and Description |
|---|
AMERICAN_DINERS |
AMERICAN_EXPRESS |
CARTE_BLANCHE |
DINERS_CLUB |
DISCOVER |
ENROUTE |
JCB |
MASTERCARD |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static RestCard.CardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestCard.CardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestCard.CardType VISA
public static final RestCard.CardType MASTERCARD
public static final RestCard.CardType AMERICAN_EXPRESS
public static final RestCard.CardType DISCOVER
public static final RestCard.CardType ENROUTE
public static final RestCard.CardType JCB
public static final RestCard.CardType DINERS_CLUB
public static final RestCard.CardType AMERICAN_DINERS
public static final RestCard.CardType CARTE_BLANCHE
public static RestCard.CardType[] values()
for (RestCard.CardType c : RestCard.CardType.values()) System.out.println(c);
public static RestCard.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 © 2020 Empyr, Inc.. All rights reserved.