public enum PaymentCardBrandsEnum extends Enum<PaymentCardBrandsEnum>
Java class for PaymentCardBrandsEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PaymentCardBrandsEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="americanExpress"/>
<enumeration value="cirrus"/>
<enumeration value="dinersClub"/>
<enumeration value="discoverCard"/>
<enumeration value="giroCard"/>
<enumeration value="maestro"/>
<enumeration value="masterCard"/>
<enumeration value="visa"/>
<enumeration value="vPay"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AMERICAN_EXPRESS |
CIRRUS |
DINERS_CLUB |
DISCOVER_CARD |
GIRO_CARD |
MAESTRO |
MASTER_CARD |
OTHER |
V_PAY |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static PaymentCardBrandsEnum |
fromValue(String v) |
String |
value() |
static PaymentCardBrandsEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentCardBrandsEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentCardBrandsEnum AMERICAN_EXPRESS
public static final PaymentCardBrandsEnum CIRRUS
public static final PaymentCardBrandsEnum DINERS_CLUB
public static final PaymentCardBrandsEnum DISCOVER_CARD
public static final PaymentCardBrandsEnum GIRO_CARD
public static final PaymentCardBrandsEnum MAESTRO
public static final PaymentCardBrandsEnum MASTER_CARD
public static final PaymentCardBrandsEnum VISA
public static final PaymentCardBrandsEnum V_PAY
public static final PaymentCardBrandsEnum OTHER
public static PaymentCardBrandsEnum[] values()
for (PaymentCardBrandsEnum c : PaymentCardBrandsEnum.values()) System.out.println(c);
public static PaymentCardBrandsEnum 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 nullpublic String value()
public static PaymentCardBrandsEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.