Package com.adyen.model.balanceplatform
Class NOLocalAccountIdentification
- java.lang.Object
-
- com.adyen.model.balanceplatform.NOLocalAccountIdentification
-
public class NOLocalAccountIdentification extends Object
NOLocalAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNOLocalAccountIdentification.CustomTypeAdapterFactorystatic classNOLocalAccountIdentification.TypeEnum**noLocal**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_NUMBERstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description NOLocalAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NOLocalAccountIdentificationaccountNumber(String accountNumber)booleanequals(Object o)static NOLocalAccountIdentificationfromJson(String jsonString)Create an instance of NOLocalAccountIdentification given an JSON stringStringgetAccountNumber()The 11-digit bank account number, without separators or whitespace.NOLocalAccountIdentification.TypeEnumgetType()**noLocal**inthashCode()voidsetAccountNumber(String accountNumber)voidsetType(NOLocalAccountIdentification.TypeEnum type)StringtoJson()Convert an instance of NOLocalAccountIdentification to an JSON stringStringtoString()NOLocalAccountIdentificationtype(NOLocalAccountIdentification.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_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountNumber
public NOLocalAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The 11-digit bank account number, without separators or whitespace.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
type
public NOLocalAccountIdentification type(NOLocalAccountIdentification.TypeEnum type)
-
getType
public NOLocalAccountIdentification.TypeEnum getType()
**noLocal**- Returns:
- type
-
setType
public void setType(NOLocalAccountIdentification.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 NOLocalAccountIdentification
-
fromJson
public static NOLocalAccountIdentification fromJson(String jsonString) throws IOException
Create an instance of NOLocalAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NOLocalAccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to NOLocalAccountIdentification
-
toJson
public String toJson()
Convert an instance of NOLocalAccountIdentification to an JSON string- Returns:
- JSON string
-
-