public enum CreditCardType extends Enum<CreditCardType> implements HybrisEnumValue
| Enum Constant and Description |
|---|
AMEX
Generated enum value for CreditCardType.amex declared at extension core.
|
DINERS
Generated enum value for CreditCardType.diners declared at extension core.
|
MAESTRO
Generated enum value for CreditCardType.maestro declared at extension payment.
|
MASTER
Generated enum value for CreditCardType.master declared at extension core.
|
MASTERCARD_EUROCARD
Generated enum value for CreditCardType.mastercard_eurocard declared at extension payment.
|
SWITCH
Generated enum value for CreditCardType.switch declared at extension payment.
|
VISA
Generated enum value for CreditCardType.visa declared at extension core.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
_TYPECODE
Generated model type code constant.
|
static String |
SIMPLE_CLASSNAME
Generated simple class name constant.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode()
Gets the code of this enum value.
|
String |
getType()
Gets the type this enum value belongs to.
|
static CreditCardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditCardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCardType AMEX
public static final CreditCardType MAESTRO
public static final CreditCardType SWITCH
public static final CreditCardType VISA
public static final CreditCardType MASTER
public static final CreditCardType MASTERCARD_EUROCARD
public static final CreditCardType DINERS
public static final String _TYPECODE
public static final String SIMPLE_CLASSNAME
public static CreditCardType[] values()
for (CreditCardType c : CreditCardType.values()) System.out.println(c);
public static CreditCardType 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 getCode()
getCode in interface HybrisEnumValuepublic String getType()
getType in interface HybrisEnumValueCopyright © 2017 SAP SE. All Rights Reserved.