Package com.adyen.model.balanceplatform
Class BankAccountModel
- java.lang.Object
-
- com.adyen.model.balanceplatform.BankAccountModel
-
public class BankAccountModel extends Object
BankAccountModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountModel.FormFactorEnumBusiness accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_FORM_FACTOR
-
Constructor Summary
Constructors Constructor Description BankAccountModel()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this BankAccountModel object is equal to o.BankAccountModelformFactor(BankAccountModel.FormFactorEnum formFactor)static BankAccountModelfromJson(String jsonString)Create an instance of BankAccountModel given an JSON stringBankAccountModel.FormFactorEnumgetFormFactor()Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.inthashCode()voidsetFormFactor(BankAccountModel.FormFactorEnum formFactor)Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.StringtoJson()Convert an instance of BankAccountModel to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_FORM_FACTOR
public static final String JSON_PROPERTY_FORM_FACTOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
formFactor
public BankAccountModel formFactor(BankAccountModel.FormFactorEnum formFactor)
-
getFormFactor
public BankAccountModel.FormFactorEnum getFormFactor()
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.- Returns:
- formFactor
-
setFormFactor
public void setFormFactor(BankAccountModel.FormFactorEnum formFactor)
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.- Parameters:
formFactor-
-
equals
public boolean equals(Object o)
Return true if this BankAccountModel object is equal to o.
-
fromJson
public static BankAccountModel fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccountModel given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountModel
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccountModel
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountModel to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-