Package com.adyen.model.openbanking
Class RIXAccountIdentifier
- java.lang.Object
-
- com.adyen.model.openbanking.RIXAccountIdentifier
-
public class RIXAccountIdentifier extends Object
RIXAccountIdentifier
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_CLEARING_NUMBER
-
Constructor Summary
Constructors Constructor Description RIXAccountIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RIXAccountIdentifieraccountNumber(String accountNumber)The account number of the bank account.RIXAccountIdentifierclearingNumber(String clearingNumber)The 4- to 5-digit clearing number, without separators or whitespace.booleanequals(Object o)Return true if this RIXAccountIdentifier object is equal to o.static RIXAccountIdentifierfromJson(String jsonString)Create an instance of RIXAccountIdentifier given an JSON stringStringgetAccountNumber()The account number of the bank account.StringgetClearingNumber()The 4- to 5-digit clearing number, without separators or whitespace.inthashCode()voidsetAccountNumber(String accountNumber)The account number of the bank account.voidsetClearingNumber(String clearingNumber)The 4- to 5-digit clearing number, without separators or whitespace.StringtoJson()Convert an instance of RIXAccountIdentifier to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLEARING_NUMBER
public static final String JSON_PROPERTY_CLEARING_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public RIXAccountIdentifier accountNumber(String accountNumber)
The account number of the bank account.- Parameters:
accountNumber- The account number of the bank account.- Returns:
- the current
RIXAccountIdentifierinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The account number of the bank account.- Returns:
- accountNumber The account number of the bank account.
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number of the bank account.- Parameters:
accountNumber- The account number of the bank account.
-
clearingNumber
public RIXAccountIdentifier clearingNumber(String clearingNumber)
The 4- to 5-digit clearing number, without separators or whitespace.- Parameters:
clearingNumber- The 4- to 5-digit clearing number, without separators or whitespace.- Returns:
- the current
RIXAccountIdentifierinstance, allowing for method chaining
-
getClearingNumber
public String getClearingNumber()
The 4- to 5-digit clearing number, without separators or whitespace.- Returns:
- clearingNumber The 4- to 5-digit clearing number, without separators or whitespace.
-
setClearingNumber
public void setClearingNumber(String clearingNumber)
The 4- to 5-digit clearing number, without separators or whitespace.- Parameters:
clearingNumber- The 4- to 5-digit clearing number, without separators or whitespace.
-
equals
public boolean equals(Object o)
Return true if this RIXAccountIdentifier object is equal to o.
-
fromJson
public static RIXAccountIdentifier fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RIXAccountIdentifier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RIXAccountIdentifier
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RIXAccountIdentifier
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RIXAccountIdentifier to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-