Package com.adyen.model.transferwebhooks
Class BankAccountV3
- java.lang.Object
-
- com.adyen.model.transferwebhooks.BankAccountV3
-
public class BankAccountV3 extends Object
BankAccountV3
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccountV3.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ACCOUNT_HOLDERstatic StringSERIALIZED_NAME_ACCOUNT_IDENTIFICATION
-
Constructor Summary
Constructors Constructor Description BankAccountV3()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BankAccountV3accountHolder(PartyIdentification accountHolder)BankAccountV3accountIdentification(BankAccountV3AccountIdentification accountIdentification)booleanequals(Object o)static BankAccountV3fromJson(String jsonString)Create an instance of BankAccountV3 given an JSON stringPartyIdentificationgetAccountHolder()Get accountHolderBankAccountV3AccountIdentificationgetAccountIdentification()Get accountIdentificationinthashCode()voidsetAccountHolder(PartyIdentification accountHolder)voidsetAccountIdentification(BankAccountV3AccountIdentification accountIdentification)StringtoJson()Convert an instance of BankAccountV3 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_HOLDER
public static final String SERIALIZED_NAME_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACCOUNT_IDENTIFICATION
public static final String SERIALIZED_NAME_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public BankAccountV3 accountHolder(PartyIdentification accountHolder)
-
getAccountHolder
public PartyIdentification getAccountHolder()
Get accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(PartyIdentification accountHolder)
-
accountIdentification
public BankAccountV3 accountIdentification(BankAccountV3AccountIdentification accountIdentification)
-
getAccountIdentification
public BankAccountV3AccountIdentification getAccountIdentification()
Get accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountV3AccountIdentification accountIdentification)
-
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 BankAccountV3
-
fromJson
public static BankAccountV3 fromJson(String jsonString) throws IOException
Create an instance of BankAccountV3 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountV3
- Throws:
IOException- if the JSON string is invalid with respect to BankAccountV3
-
toJson
public String toJson()
Convert an instance of BankAccountV3 to an JSON string- Returns:
- JSON string
-
-