Class AccountPayoutState


  • public class AccountPayoutState
    extends Object
    AccountPayoutState
    • Constructor Detail

      • AccountPayoutState

        public AccountPayoutState()
    • Method Detail

      • getAllowPayout

        public Boolean getAllowPayout()
        Indicates whether payouts are allowed. This field is the overarching payout status, and is the aggregate of multiple conditions (e.g., KYC status, disabled flag, etc). If this field is false, no payouts will be permitted for any of the account holder's accounts. If this field is true, payouts will be permitted for any of the account holder's accounts.
        Returns:
        allowPayout
      • setAllowPayout

        public void setAllowPayout​(Boolean allowPayout)
      • getDisableReason

        public String getDisableReason()
        The reason why payouts (to all of the account holder's accounts) have been disabled (by the platform). If the `disabled` field is true, this field can be used to explain why.
        Returns:
        disableReason
      • setDisableReason

        public void setDisableReason​(String disableReason)
      • getDisabled

        public Boolean getDisabled()
        Indicates whether payouts have been disabled (by the platform) for all of the account holder's accounts. A platform may enable and disable this field at their discretion. If this field is true, `allowPayout` will be false and no payouts will be permitted for any of the account holder's accounts. If this field is false, `allowPayout` may or may not be enabled, depending on other factors.
        Returns:
        disabled
      • setDisabled

        public void setDisabled​(Boolean disabled)
      • getNotAllowedReason

        public String getNotAllowedReason()
        The reason why payouts (to all of the account holder's accounts) have been disabled (by Adyen). If payouts have been disabled by Adyen, this field will explain why. If this field is blank, payouts have not been disabled by Adyen.
        Returns:
        notAllowedReason
      • setNotAllowedReason

        public void setNotAllowedReason​(String notAllowedReason)
      • getPayoutLimit

        public Amount getPayoutLimit()
        Get payoutLimit
        Returns:
        payoutLimit
      • setPayoutLimit

        public void setPayoutLimit​(Amount payoutLimit)
      • getTierNumber

        public Integer getTierNumber()
        The payout tier that the account holder occupies.
        Returns:
        tierNumber
      • setTierNumber

        public void setTierNumber​(Integer tierNumber)
      • equals

        public boolean equals​(Object o)
        Return true if this AccountPayoutState object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AccountPayoutState fromJson​(String jsonString)
                                           throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AccountPayoutState given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AccountPayoutState
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AccountPayoutState
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AccountPayoutState to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException