public enum CardTypeEnum extends java.lang.Enum<CardTypeEnum>
Java class for cardTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="cardTypeEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Visa"/>
<enumeration value="MasterCard"/>
<enumeration value="AmericanExpress"/>
<enumeration value="Discover"/>
<enumeration value="JCB"/>
<enumeration value="DinersClub"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AMERICAN_EXPRESS |
DINERS_CLUB |
DISCOVER |
JCB |
MASTER_CARD |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static CardTypeEnum |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static CardTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardTypeEnum VISA
public static final CardTypeEnum MASTER_CARD
public static final CardTypeEnum AMERICAN_EXPRESS
public static final CardTypeEnum DISCOVER
public static final CardTypeEnum JCB
public static final CardTypeEnum DINERS_CLUB
public static CardTypeEnum[] values()
for (CardTypeEnum c : CardTypeEnum.values()) System.out.println(c);
public static CardTypeEnum 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 java.lang.String value()
public static CardTypeEnum fromValue(java.lang.String v)
Copyright © 2018. All Rights Reserved.