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