Class BankAccountInfo
- java.lang.Object
-
- com.adyen.model.legalentitymanagement.BankAccountInfo
-
public class BankAccountInfo extends Object
BankAccountInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountInfo.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_IDENTIFICATIONstatic StringSERIALIZED_NAME_ACCOUNT_TYPEstatic StringSERIALIZED_NAME_COUNTRY_CODE
-
Constructor Summary
Constructors Constructor Description BankAccountInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BankAccountInfoaccountIdentification(BankAccountInfoAccountIdentification accountIdentification)BankAccountInfoaccountType(String accountType)Deprecated.BankAccountInfocountryCode(String countryCode)booleanequals(Object o)static BankAccountInfofromJson(String jsonString)Create an instance of BankAccountInfo given an JSON stringBankAccountInfoAccountIdentificationgetAccountIdentification()Get accountIdentificationStringgetAccountType()Deprecated.StringgetCountryCode()The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered.inthashCode()voidsetAccountIdentification(BankAccountInfoAccountIdentification accountIdentification)voidsetAccountType(String accountType)Deprecated.voidsetCountryCode(String countryCode)StringtoJson()Convert an instance of BankAccountInfo to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_ACCOUNT_IDENTIFICATION
public static final String SERIALIZED_NAME_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_TYPE
public static final String SERIALIZED_NAME_ACCOUNT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_COUNTRY_CODE
public static final String SERIALIZED_NAME_COUNTRY_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountIdentification
public BankAccountInfo accountIdentification(BankAccountInfoAccountIdentification accountIdentification)
-
getAccountIdentification
public BankAccountInfoAccountIdentification getAccountIdentification()
Get accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountInfoAccountIdentification accountIdentification)
-
accountType
@Deprecated public BankAccountInfo accountType(String accountType)
Deprecated.
-
getAccountType
@Deprecated public String getAccountType()
Deprecated.The type of bank account.- Returns:
- accountType
-
setAccountType
@Deprecated public void setAccountType(String accountType)
Deprecated.
-
countryCode
public BankAccountInfo countryCode(String countryCode)
-
getCountryCode
public String getCountryCode()
The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code where the bank account is registered. For example, **NL**.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(String countryCode)
-
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 BankAccountInfo
-
fromJson
public static BankAccountInfo fromJson(String jsonString) throws IOException
Create an instance of BankAccountInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountInfo
- Throws:
IOException- if the JSON string is invalid with respect to BankAccountInfo
-
toJson
public String toJson()
Convert an instance of BankAccountInfo to an JSON string- Returns:
- JSON string
-
-