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_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)The 15-16 digit bank account number.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 15-16 digit bank account number.NZLocalAccountIdentification.TypeEnumgetType()**nzLocal**inthashCode()voidsetAccountNumber(String accountNumber)The 15-16 digit bank account number.voidsetType(NZLocalAccountIdentification.TypeEnum type)**nzLocal**StringtoJson()Convert an instance of NZLocalAccountIdentification to an JSON stringStringtoString()NZLocalAccountIdentificationtype(NZLocalAccountIdentification.TypeEnum type)**nzLocal**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_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 NZLocalAccountIdentification accountNumber(String accountNumber)
The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.- Parameters:
accountNumber-- Returns:
- the current
NZLocalAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The 15-16 digit bank account number. The first 2 digits are the bank number, the next 4 digits are the branch number, the next 7 digits are the account number, and the final 2-3 digits are the suffix.- Parameters:
accountNumber-
-
type
public NZLocalAccountIdentification type(NZLocalAccountIdentification.TypeEnum type)
**nzLocal**- Parameters:
type-- Returns:
- the current
NZLocalAccountIdentificationinstance, allowing for method chaining
-
getType
public NZLocalAccountIdentification.TypeEnum getType()
**nzLocal**- Returns:
- type
-
setType
public void setType(NZLocalAccountIdentification.TypeEnum type)
**nzLocal**- Parameters:
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
-
-