Package com.adyen.model.marketpayaccount
Class DeleteBankAccountRequest
- java.lang.Object
-
- com.adyen.model.marketpayaccount.DeleteBankAccountRequest
-
public class DeleteBankAccountRequest extends Object
DeleteBankAccountRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_BANK_ACCOUNT_U_U_I_DS
-
Constructor Summary
Constructors Constructor Description DeleteBankAccountRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteBankAccountRequestaccountHolderCode(String accountHolderCode)DeleteBankAccountRequestaddBankAccountUUIDsItem(String bankAccountUUIDsItem)DeleteBankAccountRequestbankAccountUUIDs(List<String> bankAccountUUIDs)booleanequals(Object o)Return true if this DeleteBankAccountRequest object is equal to o.static DeleteBankAccountRequestfromJson(String jsonString)Create an instance of DeleteBankAccountRequest given an JSON stringStringgetAccountHolderCode()The code of the Account Holder from which to delete the Bank Account(s).List<String>getBankAccountUUIDs()The code(s) of the Bank Accounts to be deleted.inthashCode()voidsetAccountHolderCode(String accountHolderCode)voidsetBankAccountUUIDs(List<String> bankAccountUUIDs)StringtoJson()Convert an instance of DeleteBankAccountRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ACCOUNT_HOLDER_CODE
public static final String JSON_PROPERTY_ACCOUNT_HOLDER_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BANK_ACCOUNT_U_U_I_DS
public static final String JSON_PROPERTY_BANK_ACCOUNT_U_U_I_DS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public DeleteBankAccountRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the Account Holder from which to delete the Bank Account(s).- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
bankAccountUUIDs
public DeleteBankAccountRequest bankAccountUUIDs(List<String> bankAccountUUIDs)
-
addBankAccountUUIDsItem
public DeleteBankAccountRequest addBankAccountUUIDsItem(String bankAccountUUIDsItem)
-
getBankAccountUUIDs
public List<String> getBankAccountUUIDs()
The code(s) of the Bank Accounts to be deleted.- Returns:
- bankAccountUUIDs
-
equals
public boolean equals(Object o)
Return true if this DeleteBankAccountRequest object is equal to o.
-
fromJson
public static DeleteBankAccountRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DeleteBankAccountRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteBankAccountRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DeleteBankAccountRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DeleteBankAccountRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-