Class PayoutMethod


  • public class PayoutMethod
    extends Object
    PayoutMethod
    • Constructor Detail

      • PayoutMethod

        public PayoutMethod()
    • Method Detail

      • 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)
      • 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)
      • 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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