Package com.adyen.model.transfers
Class SELocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.SELocalAccountIdentification
-
public class SELocalAccountIdentification extends Object
SELocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSELocalAccountIdentification.TypeEnum**seLocal**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_NUMBERstatic StringJSON_PROPERTY_CLEARING_NUMBERstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description SELocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SELocalAccountIdentificationaccountNumber(String accountNumber)The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.SELocalAccountIdentificationclearingNumber(String clearingNumber)The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.booleanequals(Object o)Return true if this SELocalAccountIdentification object is equal to o.static SELocalAccountIdentificationfromJson(String jsonString)Create an instance of SELocalAccountIdentification given an JSON stringStringgetAccountNumber()The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.StringgetClearingNumber()The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.SELocalAccountIdentification.TypeEnumgetType()**seLocal**inthashCode()voidsetAccountNumber(String accountNumber)The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.voidsetClearingNumber(String clearingNumber)The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.voidsetType(SELocalAccountIdentification.TypeEnum type)**seLocal**StringtoJson()Convert an instance of SELocalAccountIdentification to an JSON stringStringtoString()SELocalAccountIdentificationtype(SELocalAccountIdentification.TypeEnum type)**seLocal**
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_NUMBER
public static final String JSON_PROPERTY_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CLEARING_NUMBER
public static final String JSON_PROPERTY_CLEARING_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 SELocalAccountIdentification accountNumber(String accountNumber)
The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.- Parameters:
accountNumber-- Returns:
- the current
SELocalAccountIdentificationinstance, allowing for method chaining
-
getAccountNumber
public String getAccountNumber()
The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The 7- to 10-digit bank account number ([Bankkontonummer](https://sv.wikipedia.org/wiki/Bankkonto)), without the clearing number, separators, or whitespace.- Parameters:
accountNumber-
-
clearingNumber
public SELocalAccountIdentification clearingNumber(String clearingNumber)
The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.- Parameters:
clearingNumber-- Returns:
- the current
SELocalAccountIdentificationinstance, allowing for method chaining
-
getClearingNumber
public String getClearingNumber()
The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.- Returns:
- clearingNumber
-
setClearingNumber
public void setClearingNumber(String clearingNumber)
The 4- to 5-digit clearing number ([Clearingnummer](https://sv.wikipedia.org/wiki/Clearingnummer)), without separators or whitespace.- Parameters:
clearingNumber-
-
type
public SELocalAccountIdentification type(SELocalAccountIdentification.TypeEnum type)
**seLocal**- Parameters:
type-- Returns:
- the current
SELocalAccountIdentificationinstance, allowing for method chaining
-
getType
public SELocalAccountIdentification.TypeEnum getType()
**seLocal**- Returns:
- type
-
setType
public void setType(SELocalAccountIdentification.TypeEnum type)
**seLocal**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this SELocalAccountIdentification object is equal to o.
-
fromJson
public static SELocalAccountIdentification fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of SELocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SELocalAccountIdentification
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to SELocalAccountIdentification
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of SELocalAccountIdentification to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-