Package com.adyen.model.transfers
Class CALocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.CALocalAccountIdentification
-
public class CALocalAccountIdentification extends Object
CALocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCALocalAccountIdentification.AccountTypeEnumThe bank account type.static classCALocalAccountIdentification.TypeEnum**caLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_ACCOUNT_TYPEstatic StringJSON_PROPERTY_INSTITUTION_NUMBERstatic StringJSON_PROPERTY_TRANSIT_NUMBERstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description CALocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CALocalAccountIdentificationaccountNumber(String accountNumber)The 5- to 12-digit bank account number, without separators or whitespace.CALocalAccountIdentificationaccountType(CALocalAccountIdentification.AccountTypeEnum accountType)The bank account type.booleanequals(Object o)Return true if this CALocalAccountIdentification object is equal to o.static CALocalAccountIdentificationfromJson(String jsonString)Create an instance of CALocalAccountIdentification given an JSON stringStringgetAccountNumber()The 5- to 12-digit bank account number, without separators or whitespace.CALocalAccountIdentification.AccountTypeEnumgetAccountType()The bank account type.StringgetInstitutionNumber()The 3-digit institution number, without separators or whitespace.StringgetTransitNumber()The 5-digit transit number, without separators or whitespace.CALocalAccountIdentification.TypeEnumgetType()**caLocal**inthashCode()CALocalAccountIdentificationinstitutionNumber(String institutionNumber)The 3-digit institution number, without separators or whitespace.voidsetAccountNumber(String accountNumber)The 5- to 12-digit bank account number, without separators or whitespace.voidsetAccountType(CALocalAccountIdentification.AccountTypeEnum accountType)The bank account type.voidsetInstitutionNumber(String institutionNumber)The 3-digit institution number, without separators or whitespace.voidsetTransitNumber(String transitNumber)The 5-digit transit number, without separators or whitespace.voidsetType(CALocalAccountIdentification.TypeEnum type)**caLocal**StringtoJson()Convert an instance of CALocalAccountIdentification to an JSON stringStringtoString()CALocalAccountIdentificationtransitNumber(String transitNumber)The 5-digit transit number, without separators or whitespace.CALocalAccountIdentificationtype(CALocalAccountIdentification.TypeEnum type)**caLocal**
-
-
-
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_INSTITUTION_NUMBER
public static final String JSON_PROPERTY_INSTITUTION_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRANSIT_NUMBER
public static final String JSON_PROPERTY_TRANSIT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public CALocalAccountIdentification accountNumber(String accountNumber)
The 5- to 12-digit bank account number, without separators or whitespace.- Parameters:
accountNumber-- Returns:
- the current
CALocalAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The 5- to 12-digit bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The 5- to 12-digit bank account number, without separators or whitespace.- Parameters:
accountNumber-
-
accountType
public CALocalAccountIdentification accountType(CALocalAccountIdentification.AccountTypeEnum accountType)
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Parameters:
accountType-- Returns:
- the current
CALocalAccountIdentificationinstance, allowing for method chaining
-
getAccountType
public CALocalAccountIdentification.AccountTypeEnum getAccountType()
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Returns:
- accountType
-
setAccountType
public void setAccountType(CALocalAccountIdentification.AccountTypeEnum accountType)
The bank account type. Possible values: **checking** or **savings**. Defaults to **checking**.- Parameters:
accountType-
-
institutionNumber
public CALocalAccountIdentification institutionNumber(String institutionNumber)
The 3-digit institution number, without separators or whitespace.- Parameters:
institutionNumber-- Returns:
- the current
CALocalAccountIdentificationinstance, allowing for method chaining
-
getInstitutionNumber
public String getInstitutionNumber()
The 3-digit institution number, without separators or whitespace.- Returns:
- institutionNumber
-
setInstitutionNumber
public void setInstitutionNumber(String institutionNumber)
The 3-digit institution number, without separators or whitespace.- Parameters:
institutionNumber-
-
transitNumber
public CALocalAccountIdentification transitNumber(String transitNumber)
The 5-digit transit number, without separators or whitespace.- Parameters:
transitNumber-- Returns:
- the current
CALocalAccountIdentificationinstance, allowing for method chaining
-
getTransitNumber
public String getTransitNumber()
The 5-digit transit number, without separators or whitespace.- Returns:
- transitNumber
-
setTransitNumber
public void setTransitNumber(String transitNumber)
The 5-digit transit number, without separators or whitespace.- Parameters:
transitNumber-
-
type
public CALocalAccountIdentification type(CALocalAccountIdentification.TypeEnum type)
**caLocal**- Parameters:
type-- Returns:
- the current
CALocalAccountIdentificationinstance, allowing for method chaining
-
getType
public CALocalAccountIdentification.TypeEnum getType()
**caLocal**- Returns:
- type
-
setType
public void setType(CALocalAccountIdentification.TypeEnum type)
**caLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this CALocalAccountIdentification object is equal to o.
-
fromJson
public static CALocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CALocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CALocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CALocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CALocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-