Package com.adyen.model.balanceplatform
Class NumberAndBicAccountIdentification
- java.lang.Object
-
- com.adyen.model.balanceplatform.NumberAndBicAccountIdentification
-
public class NumberAndBicAccountIdentification extends Object
NumberAndBicAccountIdentification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNumberAndBicAccountIdentification.CustomTypeAdapterFactorystatic classNumberAndBicAccountIdentification.TypeEnum**numberAndBic**
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_NUMBERstatic StringSERIALIZED_NAME_ADDITIONAL_BANK_IDENTIFICATIONstatic StringSERIALIZED_NAME_BICstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description NumberAndBicAccountIdentification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NumberAndBicAccountIdentificationaccountNumber(String accountNumber)NumberAndBicAccountIdentificationadditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)NumberAndBicAccountIdentificationbic(String bic)booleanequals(Object o)static NumberAndBicAccountIdentificationfromJson(String jsonString)Create an instance of NumberAndBicAccountIdentification given an JSON stringStringgetAccountNumber()The bank account number, without separators or whitespace.AdditionalBankIdentificationgetAdditionalBankIdentification()Get additionalBankIdentificationStringgetBic()The bank's 8- or 11-character BIC or SWIFT code.NumberAndBicAccountIdentification.TypeEnumgetType()**numberAndBic**inthashCode()voidsetAccountNumber(String accountNumber)voidsetAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)voidsetBic(String bic)voidsetType(NumberAndBicAccountIdentification.TypeEnum type)StringtoJson()Convert an instance of NumberAndBicAccountIdentification to an JSON stringStringtoString()NumberAndBicAccountIdentificationtype(NumberAndBicAccountIdentification.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_ADDITIONAL_BANK_IDENTIFICATION
public static final String SERIALIZED_NAME_ADDITIONAL_BANK_IDENTIFICATION
- 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 NumberAndBicAccountIdentification accountNumber(String accountNumber)
-
getAccountNumber
public String getAccountNumber()
The bank account number, without separators or whitespace. The length and format depends on the bank or country.- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
-
additionalBankIdentification
public NumberAndBicAccountIdentification additionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
-
getAdditionalBankIdentification
public AdditionalBankIdentification getAdditionalBankIdentification()
Get additionalBankIdentification- Returns:
- additionalBankIdentification
-
setAdditionalBankIdentification
public void setAdditionalBankIdentification(AdditionalBankIdentification additionalBankIdentification)
-
bic
public NumberAndBicAccountIdentification 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 NumberAndBicAccountIdentification type(NumberAndBicAccountIdentification.TypeEnum type)
-
getType
public NumberAndBicAccountIdentification.TypeEnum getType()
**numberAndBic**- Returns:
- type
-
setType
public void setType(NumberAndBicAccountIdentification.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 NumberAndBicAccountIdentification
-
fromJson
public static NumberAndBicAccountIdentification fromJson(String jsonString) throws IOException
Create an instance of NumberAndBicAccountIdentification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NumberAndBicAccountIdentification
- Throws:
IOException- if the JSON string is invalid with respect to NumberAndBicAccountIdentification
-
toJson
public String toJson()
Convert an instance of NumberAndBicAccountIdentification to an JSON string- Returns:
- JSON string
-
-