public enum CreditCardTypeType extends Enum<CreditCardTypeType>
| Enum Constant and Description |
|---|
AMEX |
DISCOVER |
MAESTRO |
MASTERCARD |
SOLO |
SWITCH |
VISA |
| Modifier and Type | Method and Description |
|---|---|
static CreditCardTypeType |
fromValue(String v) |
String |
getValue() |
static CreditCardTypeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditCardTypeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCardTypeType VISA
public static final CreditCardTypeType MASTERCARD
public static final CreditCardTypeType DISCOVER
public static final CreditCardTypeType AMEX
public static final CreditCardTypeType SWITCH
public static final CreditCardTypeType SOLO
public static final CreditCardTypeType MAESTRO
public static CreditCardTypeType[] values()
for (CreditCardTypeType c : CreditCardTypeType.values()) System.out.println(c);
public static CreditCardTypeType 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 getValue()
public static CreditCardTypeType fromValue(String v)
Copyright © 2017. All Rights Reserved.