public static enum CreditCardPaymentDetail.CreditCardType extends Enum<CreditCardPaymentDetail.CreditCardType> implements BmcEnum
Credit card type
Enum Constant and Description |
---|
Amex |
Diner |
Discover |
Elo |
Jcb |
Mastercard |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Visa |
Modifier and Type | Method and Description |
---|---|
static CreditCardPaymentDetail.CreditCardType |
create(String key) |
String |
getValue() |
static CreditCardPaymentDetail.CreditCardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditCardPaymentDetail.CreditCardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCardPaymentDetail.CreditCardType Visa
public static final CreditCardPaymentDetail.CreditCardType Amex
public static final CreditCardPaymentDetail.CreditCardType Mastercard
public static final CreditCardPaymentDetail.CreditCardType Discover
public static final CreditCardPaymentDetail.CreditCardType Jcb
public static final CreditCardPaymentDetail.CreditCardType Diner
public static final CreditCardPaymentDetail.CreditCardType Elo
public static final CreditCardPaymentDetail.CreditCardType UnknownEnumValue
public static CreditCardPaymentDetail.CreditCardType[] values()
for (CreditCardPaymentDetail.CreditCardType c : CreditCardPaymentDetail.CreditCardType.values()) System.out.println(c);
public static CreditCardPaymentDetail.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 static CreditCardPaymentDetail.CreditCardType create(String key)
Copyright © 2016–2024. All rights reserved.