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)Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.static BankAccountModelfromJson(String jsonString)Create an instance of BankAccountModel given an JSON stringMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.BankAccountModel.FormFactorEnumgetFormFactor()Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.inthashCode()BankAccountModelincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.voidsetFormFactor(BankAccountModel.FormFactorEnum formFactor)Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.voidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.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)
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- 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:
- the current
BankAccountModelinstance, allowing for method chaining
-
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 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.
-
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- 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.
-
includeNullValues
public BankAccountModel includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this BankAccountModel object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-