Package com.adyen.model.balanceplatform
Class BankAccount
- java.lang.Object
-
- com.adyen.model.balanceplatform.BankAccount
-
public class BankAccount extends Object
BankAccount
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccount.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_IBAN
-
Constructor Summary
Constructors Constructor Description BankAccount()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static BankAccountfromJson(String jsonString)Create an instance of BankAccount given an JSON stringStringgetIban()The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).inthashCode()BankAccountiban(String iban)voidsetIban(String iban)StringtoJson()Convert an instance of BankAccount to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
iban
public BankAccount iban(String iban)
-
getIban
public String getIban()
The [International Bank Account Number](https://en.wikipedia.org/wiki/International_Bank_Account_Number) (IBAN).- Returns:
- iban
-
setIban
public void setIban(String iban)
-
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 BankAccount
-
fromJson
public static BankAccount fromJson(String jsonString) throws IOException
Create an instance of BankAccount given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccount
- Throws:
IOException- if the JSON string is invalid with respect to BankAccount
-
toJson
public String toJson()
Convert an instance of BankAccount to an JSON string- Returns:
- JSON string
-
-