Class PayoutMethod
- java.lang.Object
-
- com.adyen.model.marketpaywebhooks.PayoutMethod
-
public class PayoutMethod extends Object
PayoutMethod
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_PAYOUT_METHOD_CODEstatic StringJSON_PROPERTY_PAYOUT_METHOD_REFERENCEstatic StringJSON_PROPERTY_RECURRING_DETAIL_REFERENCEstatic StringJSON_PROPERTY_SHOPPER_REFERENCE
-
Constructor Summary
Constructors Constructor Description PayoutMethod()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this PayoutMethod object is equal to o.static PayoutMethodfromJson(String jsonString)Create an instance of PayoutMethod given an JSON stringStringgetMerchantAccount()The [`merchantAccount`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_merchantAccount) you used in the `/payments` request when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).StringgetPayoutMethodCode()Adyen-generated unique alphanumeric identifier (UUID) for the payout method, returned in the response when you create a payout method.StringgetPayoutMethodReference()Your reference for the payout method.StringgetRecurringDetailReference()The [`recurringDetailReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-recurring-recurringDetailReference) returned in the `/payments` response when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).StringgetShopperReference()The [`shopperReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_shopperReference) you sent in the `/payments` request when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).inthashCode()PayoutMethodmerchantAccount(String merchantAccount)PayoutMethodpayoutMethodCode(String payoutMethodCode)PayoutMethodpayoutMethodReference(String payoutMethodReference)PayoutMethodrecurringDetailReference(String recurringDetailReference)voidsetMerchantAccount(String merchantAccount)voidsetPayoutMethodCode(String payoutMethodCode)voidsetPayoutMethodReference(String payoutMethodReference)voidsetRecurringDetailReference(String recurringDetailReference)voidsetShopperReference(String shopperReference)PayoutMethodshopperReference(String shopperReference)StringtoJson()Convert an instance of PayoutMethod to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_METHOD_CODE
public static final String JSON_PROPERTY_PAYOUT_METHOD_CODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYOUT_METHOD_REFERENCE
public static final String JSON_PROPERTY_PAYOUT_METHOD_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_REFERENCE
public static final String JSON_PROPERTY_SHOPPER_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public PayoutMethod merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The [`merchantAccount`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_merchantAccount) you used in the `/payments` request when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
payoutMethodCode
public PayoutMethod payoutMethodCode(String payoutMethodCode)
-
getPayoutMethodCode
public String getPayoutMethodCode()
Adyen-generated unique alphanumeric identifier (UUID) for the payout method, returned in the response when you create a payout method. Required when updating an existing payout method in an `/updateAccountHolder` request.- Returns:
- payoutMethodCode
-
setPayoutMethodCode
public void setPayoutMethodCode(String payoutMethodCode)
-
payoutMethodReference
public PayoutMethod payoutMethodReference(String payoutMethodReference)
-
getPayoutMethodReference
public String getPayoutMethodReference()
Your reference for the payout method.- Returns:
- payoutMethodReference
-
setPayoutMethodReference
public void setPayoutMethodReference(String payoutMethodReference)
-
recurringDetailReference
public PayoutMethod recurringDetailReference(String recurringDetailReference)
-
getRecurringDetailReference
public String getRecurringDetailReference()
The [`recurringDetailReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_additionalData-ResponseAdditionalDataCommon-recurring-recurringDetailReference) returned in the `/payments` response when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
shopperReference
public PayoutMethod shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The [`shopperReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_shopperReference) you sent in the `/payments` request when you [saved the account holder's card details](https://docs.adyen.com/marketplaces-and-platforms/classic/payouts/manual-payout/payout-to-cards#check-and-store).- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
equals
public boolean equals(Object o)
Return true if this PayoutMethod object is equal to o.
-
fromJson
public static PayoutMethod fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayoutMethod given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayoutMethod
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayoutMethod
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayoutMethod to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-