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_IDENTIFICATIONstatic StringJSON_PROPERTY_STORED_PAYMENT_METHOD_ID
-
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()Get accountHolderBankAccountV3AccountIdentificationgetAccountIdentification()Get accountIdentificationStringgetStoredPaymentMethodId()The unique token that identifies the stored bank account details of the counterparty for a payout.inthashCode()voidsetAccountHolder(PartyIdentification accountHolder)accountHoldervoidsetAccountIdentification(BankAccountV3AccountIdentification accountIdentification)accountIdentificationvoidsetStoredPaymentMethodId(String storedPaymentMethodId)The unique token that identifies the stored bank account details of the counterparty for a payout.BankAccountV3storedPaymentMethodId(String storedPaymentMethodId)The unique token that identifies the stored bank account details of the counterparty for a payout.StringtoJson()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
-
JSON_PROPERTY_STORED_PAYMENT_METHOD_ID
public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID
- 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()
Get 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()
Get accountIdentification- Returns:
- accountIdentification
-
setAccountIdentification
public void setAccountIdentification(BankAccountV3AccountIdentification accountIdentification)
accountIdentification- Parameters:
accountIdentification-
-
storedPaymentMethodId
public BankAccountV3 storedPaymentMethodId(String storedPaymentMethodId)
The unique token that identifies the stored bank account details of the counterparty for a payout.- Parameters:
storedPaymentMethodId- The unique token that identifies the stored bank account details of the counterparty for a payout.- Returns:
- the current
BankAccountV3instance, allowing for method chaining
-
getStoredPaymentMethodId
public String getStoredPaymentMethodId()
The unique token that identifies the stored bank account details of the counterparty for a payout.- Returns:
- storedPaymentMethodId The unique token that identifies the stored bank account details of the counterparty for a payout.
-
setStoredPaymentMethodId
public void setStoredPaymentMethodId(String storedPaymentMethodId)
The unique token that identifies the stored bank account details of the counterparty for a payout.- Parameters:
storedPaymentMethodId- The unique token that identifies the stored bank account details of the counterparty for a payout.
-
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
-
-