Package com.checkout.payments
Enum AccountTypeCardProduct
- java.lang.Object
-
- java.lang.Enum<AccountTypeCardProduct>
-
- com.checkout.payments.AccountTypeCardProduct
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AccountTypeCardProduct>
public enum AccountTypeCardProduct extends java.lang.Enum<AccountTypeCardProduct>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREDITDEBITNOT_APPLICABLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AccountTypeCardProductvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AccountTypeCardProduct[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREDIT
@SerializedName("credit") public static final AccountTypeCardProduct CREDIT
-
DEBIT
@SerializedName("debit") public static final AccountTypeCardProduct DEBIT
-
NOT_APPLICABLE
@SerializedName("not_applicable") public static final AccountTypeCardProduct NOT_APPLICABLE
-
-
Method Detail
-
values
public static AccountTypeCardProduct[] 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 (AccountTypeCardProduct c : AccountTypeCardProduct.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountTypeCardProduct valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-