Package com.adyen.model.transfers
Class CZLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.CZLocalAccountIdentification
-
public class CZLocalAccountIdentification extends Object
CZLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCZLocalAccountIdentification.TypeEnum**czLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_BANK_CODEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description CZLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CZLocalAccountIdentificationaccountNumber(String accountNumber)CZLocalAccountIdentificationbankCode(String bankCode)booleanequals(Object o)Return true if this CZLocalAccountIdentification object is equal to o.static CZLocalAccountIdentificationfromJson(String jsonString)Create an instance of CZLocalAccountIdentification given an JSON stringStringgetAccountNumber()The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí).StringgetBankCode()The 4-digit bank code (Kód banky), without separators or whitespace.CZLocalAccountIdentification.TypeEnumgetType()**czLocal**inthashCode()voidsetAccountNumber(String accountNumber)The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí).voidsetBankCode(String bankCode)The 4-digit bank code (Kód banky), without separators or whitespace.voidsetType(CZLocalAccountIdentification.TypeEnum type)**czLocal**StringtoJson()Convert an instance of CZLocalAccountIdentification to an JSON stringStringtoString()CZLocalAccountIdentificationtype(CZLocalAccountIdentification.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_CODE
public static final String JSON_PROPERTY_BANK_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 CZLocalAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The 2- to 16-digit bank account number (Číslo účtu) in the following format: - The optional prefix (předčíslí). - The required second part (základní část) which must be at least two non-zero digits. Examples: - **19-123457** (with prefix) - **123457** (without prefix) - **000019-0000123457** (with prefix, normalized) - **000000-0000123457** (without prefix, normalized)- Parameters:
accountNumber-
-
bankCode
public CZLocalAccountIdentification bankCode(String bankCode)
-
getBankCode
public String getBankCode()
The 4-digit bank code (Kód banky), without separators or whitespace.- Returns:
- bankCode
-
setBankCode
public void setBankCode(String bankCode)
The 4-digit bank code (Kód banky), without separators or whitespace.- Parameters:
bankCode-
-
type
public CZLocalAccountIdentification type(CZLocalAccountIdentification.TypeEnum type)
-
getType
public CZLocalAccountIdentification.TypeEnum getType()
**czLocal**- Returns:
- type
-
setType
public void setType(CZLocalAccountIdentification.TypeEnum type)
**czLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this CZLocalAccountIdentification object is equal to o.
-
fromJson
public static CZLocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CZLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CZLocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CZLocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CZLocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-