Package com.adyen.model.balanceplatform
Class AULocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.balanceplatform.AULocalAccountIdentification
-
public class AULocalAccountIdentification extends Object
AULocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAULocalAccountIdentification.CustomTypeAdapterFactorystatic classAULocalAccountIdentification.TypeEnum**auLocal**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_NUMBERstatic StringSERIALIZED_NAME_BSB_CODEstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description AULocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AULocalAccountIdentificationaccountNumber(String accountNumber)AULocalAccountIdentificationbsbCode(String bsbCode)booleanequals(Object o)static AULocalAccountIdentificationfromJson(String jsonString)Create an instance of AULocalAccountIdentification given an JSON stringStringgetAccountNumber()The bank account number, without separators or whitespace.StringgetBsbCode()The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.AULocalAccountIdentification.TypeEnumgetType()**auLocal**inthashCode()voidsetAccountNumber(String accountNumber)voidsetBsbCode(String bsbCode)voidsetType(AULocalAccountIdentification.TypeEnum type)StringtoJson()Convert an instance of AULocalAccountIdentification to an JSON stringStringtoString()AULocalAccountIdentificationtype(AULocalAccountIdentification.TypeEnum type)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation)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_BSB_CODE
public static final String SERIALIZED_NAME_BSB_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public AULocalAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
bsbCode
public AULocalAccountIdentification bsbCode(String bsbCode)
-
getBsbCode
public String getBsbCode()
The 6-digit [Bank State Branch (BSB) code](https://en.wikipedia.org/wiki/Bank_state_branch), without separators or whitespace.- Returns:
- bsbCode
-
setBsbCode
public void setBsbCode(String bsbCode)
-
type
public AULocalAccountIdentification type(AULocalAccountIdentification.TypeEnum type)
-
getType
public AULocalAccountIdentification.TypeEnum getType()
**auLocal**- Returns:
- type
-
setType
public void setType(AULocalAccountIdentification.TypeEnum type)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException- Throws:
IOException
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj, boolean strictValidation) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON ObjectstrictValidation- reject (new) fields missing from the specifications- Throws:
IOException- if the JSON Object is invalid with respect to AULocalAccountIdentification
-
fromJson
public static AULocalAccountIdentification fromJson(String jsonString) throws IOException
Create an instance of AULocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AULocalAccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to AULocalAccountIdentification
-
toJson
public String toJson()
Convert an instance of AULocalAccountIdentification to an JSON string- Returns:
- JSON string
-
-