Package com.adyen.model.transfers
Class HKLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.HKLocalAccountIdentification
-
public class HKLocalAccountIdentification extends Object
HKLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHKLocalAccountIdentification.TypeEnum**hkLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_CLEARING_CODEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description HKLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HKLocalAccountIdentificationaccountNumber(String accountNumber)The 9- to 15-character bank account number (alphanumeric), without separators or whitespace.HKLocalAccountIdentificationclearingCode(String clearingCode)The 3-digit clearing code, without separators or whitespace.booleanequals(Object o)Return true if this HKLocalAccountIdentification object is equal to o.static HKLocalAccountIdentificationfromJson(String jsonString)Create an instance of HKLocalAccountIdentification given an JSON stringStringgetAccountNumber()The 9- to 15-character bank account number (alphanumeric), without separators or whitespace.StringgetClearingCode()The 3-digit clearing code, without separators or whitespace.HKLocalAccountIdentification.TypeEnumgetType()**hkLocal**inthashCode()voidsetAccountNumber(String accountNumber)The 9- to 15-character bank account number (alphanumeric), without separators or whitespace.voidsetClearingCode(String clearingCode)The 3-digit clearing code, without separators or whitespace.voidsetType(HKLocalAccountIdentification.TypeEnum type)**hkLocal**StringtoJson()Convert an instance of HKLocalAccountIdentification to an JSON stringStringtoString()HKLocalAccountIdentificationtype(HKLocalAccountIdentification.TypeEnum type)**hkLocal**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLEARING_CODE
public static final String JSON_PROPERTY_CLEARING_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 HKLocalAccountIdentification accountNumber(String accountNumber)
The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.- Parameters:
accountNumber-- Returns:
- the current
HKLocalAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The 9- to 15-character bank account number (alphanumeric), without separators or whitespace. Starts with the 3-digit branch code.- Parameters:
accountNumber-
-
clearingCode
public HKLocalAccountIdentification clearingCode(String clearingCode)
The 3-digit clearing code, without separators or whitespace.- Parameters:
clearingCode-- Returns:
- the current
HKLocalAccountIdentificationinstance, allowing for method chaining
-
getClearingCode
public String getClearingCode()
The 3-digit clearing code, without separators or whitespace.- Returns:
- clearingCode
-
setClearingCode
public void setClearingCode(String clearingCode)
The 3-digit clearing code, without separators or whitespace.- Parameters:
clearingCode-
-
type
public HKLocalAccountIdentification type(HKLocalAccountIdentification.TypeEnum type)
**hkLocal**- Parameters:
type-- Returns:
- the current
HKLocalAccountIdentificationinstance, allowing for method chaining
-
getType
public HKLocalAccountIdentification.TypeEnum getType()
**hkLocal**- Returns:
- type
-
setType
public void setType(HKLocalAccountIdentification.TypeEnum type)
**hkLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this HKLocalAccountIdentification object is equal to o.
-
fromJson
public static HKLocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of HKLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of HKLocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to HKLocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of HKLocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-