Package com.adyen.model.balanceplatform
Enum BankAccountModel.FormFactorEnum
- java.lang.Object
-
- java.lang.Enum<BankAccountModel.FormFactorEnum>
-
- com.adyen.model.balanceplatform.BankAccountModel.FormFactorEnum
-
- All Implemented Interfaces:
Serializable,Comparable<BankAccountModel.FormFactorEnum>
- Enclosing class:
- BankAccountModel
public static enum BankAccountModel.FormFactorEnum extends Enum<BankAccountModel.FormFactorEnum>
Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country. The default value is **physical** for NL, US, and UK business accounts. Adyen creates a local IBAN for business accounts when the `formFactor` value is set to **virtual**. The local IBANs that are supported are for DE and FR, which reference a physical NL account, with funds being routed through the central bank of NL.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BankAccountModel.FormFactorEnumfromValue(String value)StringgetValue()StringtoString()static BankAccountModel.FormFactorEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static BankAccountModel.FormFactorEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PHYSICAL
public static final BankAccountModel.FormFactorEnum PHYSICAL
-
UNKNOWN
public static final BankAccountModel.FormFactorEnum UNKNOWN
-
VIRTUAL
public static final BankAccountModel.FormFactorEnum VIRTUAL
-
-
Method Detail
-
values
public static BankAccountModel.FormFactorEnum[] 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 (BankAccountModel.FormFactorEnum c : BankAccountModel.FormFactorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BankAccountModel.FormFactorEnum 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<BankAccountModel.FormFactorEnum>
-
fromValue
public static BankAccountModel.FormFactorEnum fromValue(String value)
-
-