Package com.adyen.model.transfers
Class SGLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.transfers.SGLocalAccountIdentification
-
public class SGLocalAccountIdentification extends Object
SGLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSGLocalAccountIdentification.CustomTypeAdapterFactorystatic classSGLocalAccountIdentification.TypeEnum**sgLocal**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_NUMBERstatic StringSERIALIZED_NAME_BICstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description SGLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SGLocalAccountIdentificationaccountNumber(String accountNumber)SGLocalAccountIdentificationbic(String bic)booleanequals(Object o)static SGLocalAccountIdentificationfromJson(String jsonString)Create an instance of SGLocalAccountIdentification given an JSON stringStringgetAccountNumber()The 4- to 19-digit bank account number, without separators or whitespace.StringgetBic()The bank's 8- or 11-character BIC or SWIFT code.SGLocalAccountIdentification.TypeEnumgetType()**sgLocal**inthashCode()voidsetAccountNumber(String accountNumber)voidsetBic(String bic)voidsetType(SGLocalAccountIdentification.TypeEnum type)StringtoJson()Convert an instance of SGLocalAccountIdentification to an JSON stringStringtoString()SGLocalAccountIdentificationtype(SGLocalAccountIdentification.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_NUMBER
public static final String SERIALIZED_NAME_ACCOUNT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BIC
public static final String SERIALIZED_NAME_BIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public SGLocalAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The 4- to 19-digit bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
bic
public SGLocalAccountIdentification bic(String bic)
-
getBic
public String getBic()
The bank's 8- or 11-character BIC or SWIFT code.- Returns:
- bic
-
setBic
public void setBic(String bic)
-
type
public SGLocalAccountIdentification type(SGLocalAccountIdentification.TypeEnum type)
-
getType
public SGLocalAccountIdentification.TypeEnum getType()
**sgLocal**- Returns:
- type
-
setType
public void setType(SGLocalAccountIdentification.TypeEnum type)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to SGLocalAccountIdentification
-
fromJson
public static SGLocalAccountIdentification fromJson(String jsonString) throws IOException
Create an instance of SGLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SGLocalAccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to SGLocalAccountIdentification
-
toJson
public String toJson()
Convert an instance of SGLocalAccountIdentification to an JSON string- Returns:
- JSON string
-
-