Package com.adyen.model.checkout
Enum AchDetails.BankAccountTypeEnum
- java.lang.Object
-
- java.lang.Enum<AchDetails.BankAccountTypeEnum>
-
- com.adyen.model.checkout.AchDetails.BankAccountTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<AchDetails.BankAccountTypeEnum>
- Enclosing class:
- AchDetails
public static enum AchDetails.BankAccountTypeEnum extends Enum<AchDetails.BankAccountTypeEnum>
The bank account type (checking, savings...).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AchDetails.BankAccountTypeEnumfromValue(String value)StringgetValue()StringtoString()static AchDetails.BankAccountTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static AchDetails.BankAccountTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BALANCE
public static final AchDetails.BankAccountTypeEnum BALANCE
-
CHECKING
public static final AchDetails.BankAccountTypeEnum CHECKING
-
DEPOSIT
public static final AchDetails.BankAccountTypeEnum DEPOSIT
-
GENERAL
public static final AchDetails.BankAccountTypeEnum GENERAL
-
OTHER
public static final AchDetails.BankAccountTypeEnum OTHER
-
PAYMENT
public static final AchDetails.BankAccountTypeEnum PAYMENT
-
SAVINGS
public static final AchDetails.BankAccountTypeEnum SAVINGS
-
-
Method Detail
-
values
public static AchDetails.BankAccountTypeEnum[] 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 (AchDetails.BankAccountTypeEnum c : AchDetails.BankAccountTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AchDetails.BankAccountTypeEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<AchDetails.BankAccountTypeEnum>
-
fromValue
public static AchDetails.BankAccountTypeEnum fromValue(String value)
-
-