Package com.oracle.bmc.ospgateway.model
Enum OtherPaymentDetail.CreditCardType
- java.lang.Object
-
- java.lang.Enum<OtherPaymentDetail.CreditCardType>
-
- com.oracle.bmc.ospgateway.model.OtherPaymentDetail.CreditCardType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<OtherPaymentDetail.CreditCardType>
- Enclosing class:
- OtherPaymentDetail
public static enum OtherPaymentDetail.CreditCardType extends Enum<OtherPaymentDetail.CreditCardType> implements BmcEnum
Echeck card type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Amex
Checking
CorporateChecking
Diner
Discover
Elo
Jcb
Mastercard
Saving
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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OtherPaymentDetail.CreditCardType
create(String key)
String
getValue()
static OtherPaymentDetail.CreditCardType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OtherPaymentDetail.CreditCardType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Visa
public static final OtherPaymentDetail.CreditCardType Visa
-
Amex
public static final OtherPaymentDetail.CreditCardType Amex
-
Mastercard
public static final OtherPaymentDetail.CreditCardType Mastercard
-
Discover
public static final OtherPaymentDetail.CreditCardType Discover
-
Jcb
public static final OtherPaymentDetail.CreditCardType Jcb
-
Diner
public static final OtherPaymentDetail.CreditCardType Diner
-
Elo
public static final OtherPaymentDetail.CreditCardType Elo
-
Saving
public static final OtherPaymentDetail.CreditCardType Saving
-
Checking
public static final OtherPaymentDetail.CreditCardType Checking
-
CorporateChecking
public static final OtherPaymentDetail.CreditCardType CorporateChecking
-
UnknownEnumValue
public static final OtherPaymentDetail.CreditCardType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static OtherPaymentDetail.CreditCardType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OtherPaymentDetail.CreditCardType c : OtherPaymentDetail.CreditCardType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OtherPaymentDetail.CreditCardType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static OtherPaymentDetail.CreditCardType create(String key)
-
-