Class BankAccountDetails
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.BankAccountDetails
-
public class BankAccountDetails extends Object
BankAccountDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_ACCOUNT_TYPEstatic StringJSON_PROPERTY_BRANCH_NUMBERstatic StringJSON_PROPERTY_FORM_FACTORstatic StringJSON_PROPERTY_IBANstatic StringJSON_PROPERTY_ROUTING_NUMBERstatic StringJSON_PROPERTY_SORT_CODEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description BankAccountDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BankAccountDetailsaccountNumber(String accountNumber)The bank account number, without separators or whitespace.BankAccountDetailsaccountType(String accountType)The bank account type.BankAccountDetailsbranchNumber(String branchNumber)The bank account branch number, without separators or whitespacebooleanequals(Object o)Return true if this BankAccountDetails object is equal to o.BankAccountDetailsformFactor(String formFactor)Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.static BankAccountDetailsfromJson(String jsonString)Create an instance of BankAccountDetails given an JSON stringStringgetAccountNumber()The bank account number, without separators or whitespace.StringgetAccountType()The bank account type.StringgetBranchNumber()The bank account branch number, without separators or whitespaceStringgetFormFactor()Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.StringgetIban()The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.StringgetRoutingNumber()The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.StringgetSortCode()The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.StringgetType()**iban** or **usLocal** or **ukLocal**inthashCode()BankAccountDetailsiban(String iban)The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.BankAccountDetailsroutingNumber(String routingNumber)The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.voidsetAccountNumber(String accountNumber)The bank account number, without separators or whitespace.voidsetAccountType(String accountType)The bank account type.voidsetBranchNumber(String branchNumber)The bank account branch number, without separators or whitespacevoidsetFormFactor(String formFactor)Business accounts with a `formFactor` value of **physical** are business accounts issued under the central bank of that country.voidsetIban(String iban)The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.voidsetRoutingNumber(String routingNumber)The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.voidsetSortCode(String sortCode)The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.voidsetType(String type)**iban** or **usLocal** or **ukLocal**BankAccountDetailssortCode(String sortCode)The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.StringtoJson()Convert an instance of BankAccountDetails to an JSON stringStringtoString()BankAccountDetailstype(String type)**iban** or **usLocal** or **ukLocal**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_TYPE
public static final String JSON_PROPERTY_ACCOUNT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BRANCH_NUMBER
public static final String JSON_PROPERTY_BRANCH_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORM_FACTOR
public static final String JSON_PROPERTY_FORM_FACTOR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IBAN
public static final String JSON_PROPERTY_IBAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROUTING_NUMBER
public static final String JSON_PROPERTY_ROUTING_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SORT_CODE
public static final String JSON_PROPERTY_SORT_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public BankAccountDetails accountNumber(String accountNumber)
The bank account number, without separators or whitespace.- Parameters:
accountNumber-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The bank account number, without separators or whitespace.- Parameters:
accountNumber-
-
accountType
public BankAccountDetails accountType(String accountType)
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Parameters:
accountType-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getAccountType
public String getAccountType()
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Returns:
- accountType
-
setAccountType
public void setAccountType(String accountType)
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Parameters:
accountType-
-
branchNumber
public BankAccountDetails branchNumber(String branchNumber)
The bank account branch number, without separators or whitespace- Parameters:
branchNumber-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getBranchNumber
public String getBranchNumber()
The bank account branch number, without separators or whitespace- Returns:
- branchNumber
-
setBranchNumber
public void setBranchNumber(String branchNumber)
The bank account branch number, without separators or whitespace- Parameters:
branchNumber-
-
formFactor
public BankAccountDetails formFactor(String 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-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getFormFactor
public String 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(String 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-
-
iban
public BankAccountDetails iban(String iban)
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.- Parameters:
iban-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getIban
public String getIban()
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.- Returns:
- iban
-
setIban
public void setIban(String iban)
The international bank account number as defined in the [ISO-13616](https://www.iso.org/standard/81090.html) standard.- Parameters:
iban-
-
routingNumber
public BankAccountDetails routingNumber(String routingNumber)
The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.- Parameters:
routingNumber-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getRoutingNumber
public String getRoutingNumber()
The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.- Returns:
- routingNumber
-
setRoutingNumber
public void setRoutingNumber(String routingNumber)
The [routing number](https://en.wikipedia.org/wiki/ABA_routing_transit_number), without separators or whitespace.- Parameters:
routingNumber-
-
sortCode
public BankAccountDetails sortCode(String sortCode)
The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.- Parameters:
sortCode-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getSortCode
public String getSortCode()
The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.- Returns:
- sortCode
-
setSortCode
public void setSortCode(String sortCode)
The [sort code](https://en.wikipedia.org/wiki/Sort_code), without separators or whitespace.- Parameters:
sortCode-
-
type
public BankAccountDetails type(String type)
**iban** or **usLocal** or **ukLocal**- Parameters:
type-- Returns:
- the current
BankAccountDetailsinstance, allowing for method chaining
-
getType
public String getType()
**iban** or **usLocal** or **ukLocal**- Returns:
- type
-
setType
public void setType(String type)
**iban** or **usLocal** or **ukLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this BankAccountDetails object is equal to o.
-
fromJson
public static BankAccountDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccountDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccountDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-