Package com.adyen.model.openbanking
Class EFTAccountIdentifier
- java.lang.Object
-
- com.adyen.model.openbanking.EFTAccountIdentifier
-
public class EFTAccountIdentifier extends Object
EFTAccountIdentifier
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_BRANCHstatic StringJSON_PROPERTY_INSTITUTION
-
Constructor Summary
Constructors Constructor Description EFTAccountIdentifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EFTAccountIdentifieraccountNumber(String accountNumber)The account number of the bank account.EFTAccountIdentifierbranch(String branch)Identifies the specific branch where the account is held within the Canadian banking system.booleanequals(Object o)Return true if this EFTAccountIdentifier object is equal to o.static EFTAccountIdentifierfromJson(String jsonString)Create an instance of EFTAccountIdentifier given an JSON stringStringgetAccountNumber()The account number of the bank account.StringgetBranch()Identifies the specific branch where the account is held within the Canadian banking system.StringgetInstitution()The financial institution that identifies the bank in Canada.inthashCode()EFTAccountIdentifierinstitution(String institution)The financial institution that identifies the bank in Canada.voidsetAccountNumber(String accountNumber)The account number of the bank account.voidsetBranch(String branch)Identifies the specific branch where the account is held within the Canadian banking system.voidsetInstitution(String institution)The financial institution that identifies the bank in Canada.StringtoJson()Convert an instance of EFTAccountIdentifier 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_BRANCH
public static final String JSON_PROPERTY_BRANCH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTITUTION
public static final String JSON_PROPERTY_INSTITUTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public EFTAccountIdentifier accountNumber(String accountNumber)
The account number of the bank account.- Parameters:
accountNumber- The account number of the bank account.- Returns:
- the current
EFTAccountIdentifierinstance, 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.
-
branch
public EFTAccountIdentifier branch(String branch)
Identifies the specific branch where the account is held within the Canadian banking system.- Parameters:
branch- Identifies the specific branch where the account is held within the Canadian banking system.- Returns:
- the current
EFTAccountIdentifierinstance, allowing for method chaining
-
getBranch
public String getBranch()
Identifies the specific branch where the account is held within the Canadian banking system.- Returns:
- branch Identifies the specific branch where the account is held within the Canadian banking system.
-
setBranch
public void setBranch(String branch)
Identifies the specific branch where the account is held within the Canadian banking system.- Parameters:
branch- Identifies the specific branch where the account is held within the Canadian banking system.
-
institution
public EFTAccountIdentifier institution(String institution)
The financial institution that identifies the bank in Canada.- Parameters:
institution- The financial institution that identifies the bank in Canada.- Returns:
- the current
EFTAccountIdentifierinstance, allowing for method chaining
-
getInstitution
public String getInstitution()
The financial institution that identifies the bank in Canada.- Returns:
- institution The financial institution that identifies the bank in Canada.
-
setInstitution
public void setInstitution(String institution)
The financial institution that identifies the bank in Canada.- Parameters:
institution- The financial institution that identifies the bank in Canada.
-
equals
public boolean equals(Object o)
Return true if this EFTAccountIdentifier object is equal to o.
-
fromJson
public static EFTAccountIdentifier fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of EFTAccountIdentifier given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EFTAccountIdentifier
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to EFTAccountIdentifier
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of EFTAccountIdentifier to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-