Package com.adyen.model.transfers
Class NZLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.NZLocalAccountIdentification
-
public class NZLocalAccountIdentification extends Object
NZLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNZLocalAccountIdentification.TypeEnum**nzLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_ACCOUNT_SUFFIXstatic StringJSON_PROPERTY_BANK_CODEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description NZLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NZLocalAccountIdentificationaccountNumber(String accountNumber)NZLocalAccountIdentificationaccountSuffix(String accountSuffix)NZLocalAccountIdentificationbankCode(String bankCode)booleanequals(Object o)Return true if this NZLocalAccountIdentification object is equal to o.static NZLocalAccountIdentificationfromJson(String jsonString)Create an instance of NZLocalAccountIdentification given an JSON stringStringgetAccountNumber()The 7-digit bank account number, without separators or whitespace.StringgetAccountSuffix()The 2- to 3-digit account suffix, without separators or whitespace.StringgetBankCode()The 6-digit bank code including the 2-digit bank code and 4-digit branch code, without separators or whitespace.NZLocalAccountIdentification.TypeEnumgetType()**nzLocal**inthashCode()voidsetAccountNumber(String accountNumber)voidsetAccountSuffix(String accountSuffix)voidsetBankCode(String bankCode)voidsetType(NZLocalAccountIdentification.TypeEnum type)StringtoJson()Convert an instance of NZLocalAccountIdentification to an JSON stringStringtoString()NZLocalAccountIdentificationtype(NZLocalAccountIdentification.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_SUFFIX
public static final String JSON_PROPERTY_ACCOUNT_SUFFIX
- 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 NZLocalAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The 7-digit bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
accountSuffix
public NZLocalAccountIdentification accountSuffix(String accountSuffix)
-
getAccountSuffix
public String getAccountSuffix()
The 2- to 3-digit account suffix, without separators or whitespace.- Returns:
- accountSuffix
-
setAccountSuffix
public void setAccountSuffix(String accountSuffix)
-
bankCode
public NZLocalAccountIdentification bankCode(String bankCode)
-
getBankCode
public String getBankCode()
The 6-digit bank code including the 2-digit bank code and 4-digit branch code, without separators or whitespace.- Returns:
- bankCode
-
setBankCode
public void setBankCode(String bankCode)
-
type
public NZLocalAccountIdentification type(NZLocalAccountIdentification.TypeEnum type)
-
getType
public NZLocalAccountIdentification.TypeEnum getType()
**nzLocal**- Returns:
- type
-
setType
public void setType(NZLocalAccountIdentification.TypeEnum type)
-
equals
public boolean equals(Object o)
Return true if this NZLocalAccountIdentification object is equal to o.
-
fromJson
public static NZLocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NZLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NZLocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NZLocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NZLocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-