Package com.adyen.model.transferwebhooks
Class BankAccountV3
- java.lang.Object
-
- com.adyen.model.transferwebhooks.BankAccountV3
-
public class BankAccountV3 extends Object
BankAccountV3
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDERstatic StringJSON_PROPERTY_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)accountHolderBankAccountV3accountIdentification(BankAccountV3AccountIdentification accountIdentification)accountIdentificationbooleanequals(Object o)Return true if this BankAccountV3 object is equal to o.static BankAccountV3fromJson(String jsonString)Create an instance of BankAccountV3 given an JSON stringPartyIdentificationgetAccountHolder()accountHolderBankAccountV3AccountIdentificationgetAccountIdentification()accountIdentificationinthashCode()voidsetAccountHolder(PartyIdentification accountHolder)accountHoldervoidsetAccountIdentification(BankAccountV3AccountIdentification accountIdentification)accountIdentificationStringtoJson()Convert an instance of BankAccountV3 to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER
public static final String JSON_PROPERTY_ACCOUNT_HOLDER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ACCOUNT_IDENTIFICATION
public static final String JSON_PROPERTY_ACCOUNT_IDENTIFICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolder
public BankAccountV3 accountHolder(PartyIdentification accountHolder)
accountHolder- Parameters:
accountHolder-- Returns:
- the current
BankAccountV3instance, allowing for method chaining
-
getAccountHolder
public PartyIdentification getAccountHolder()
accountHolder- Returns:
- accountHolder
-
setAccountHolder
public void setAccountHolder(PartyIdentification accountHolder)
accountHolder- Parameters:
accountHolder-
-
accountIdentification
public BankAccountV3 accountIdentification(BankAccountV3AccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-- Returns:
- the current
BankAccountV3instance, allowing for method chaining
-
getAccountIdentification
public BankAccountV3AccountIdentification getAccountIdentification()
accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountV3AccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
equals
public boolean equals(Object o)
Return true if this BankAccountV3 object is equal to o.
-
fromJson
public static BankAccountV3 fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of BankAccountV3 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BankAccountV3
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to BankAccountV3
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of BankAccountV3 to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-