Package com.adyen.model.marketpayaccount
Class DeletePayoutMethodRequest
- java.lang.Object
-
- com.adyen.model.marketpayaccount.DeletePayoutMethodRequest
-
public class DeletePayoutMethodRequest extends Object
DeletePayoutMethodRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ACCOUNT_HOLDER_CODEstatic StringJSON_PROPERTY_PAYOUT_METHOD_CODES
-
Constructor Summary
Constructors Constructor Description DeletePayoutMethodRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeletePayoutMethodRequestaccountHolderCode(String accountHolderCode)DeletePayoutMethodRequestaddPayoutMethodCodesItem(String payoutMethodCodesItem)booleanequals(Object o)Return true if this DeletePayoutMethodRequest object is equal to o.static DeletePayoutMethodRequestfromJson(String jsonString)Create an instance of DeletePayoutMethodRequest given an JSON stringStringgetAccountHolderCode()The code of the account holder, from which to delete the payout methods.List<String>getPayoutMethodCodes()The codes of the payout methods to be deleted.inthashCode()DeletePayoutMethodRequestpayoutMethodCodes(List<String> payoutMethodCodes)voidsetAccountHolderCode(String accountHolderCode)voidsetPayoutMethodCodes(List<String> payoutMethodCodes)StringtoJson()Convert an instance of DeletePayoutMethodRequest 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_PAYOUT_METHOD_CODES
public static final String JSON_PROPERTY_PAYOUT_METHOD_CODES
- See Also:
- Constant Field Values
-
-
Method Detail
-
accountHolderCode
public DeletePayoutMethodRequest accountHolderCode(String accountHolderCode)
-
getAccountHolderCode
public String getAccountHolderCode()
The code of the account holder, from which to delete the payout methods.- Returns:
- accountHolderCode
-
setAccountHolderCode
public void setAccountHolderCode(String accountHolderCode)
-
payoutMethodCodes
public DeletePayoutMethodRequest payoutMethodCodes(List<String> payoutMethodCodes)
-
addPayoutMethodCodesItem
public DeletePayoutMethodRequest addPayoutMethodCodesItem(String payoutMethodCodesItem)
-
getPayoutMethodCodes
public List<String> getPayoutMethodCodes()
The codes of the payout methods to be deleted.- Returns:
- payoutMethodCodes
-
equals
public boolean equals(Object o)
Return true if this DeletePayoutMethodRequest object is equal to o.
-
fromJson
public static DeletePayoutMethodRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of DeletePayoutMethodRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeletePayoutMethodRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to DeletePayoutMethodRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of DeletePayoutMethodRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-