Class DebitAccountHolderRequest


  • public class DebitAccountHolderRequest
    extends Object
    DebitAccountHolderRequest
    • Constructor Detail

      • DebitAccountHolderRequest

        public DebitAccountHolderRequest()
    • Method Detail

      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the account holder.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getAmount

        public Amount getAmount()
        Get amount
        Returns:
        amount
      • setAmount

        public void setAmount​(Amount amount)
      • getBankAccountUUID

        public String getBankAccountUUID()
        The Adyen-generated unique alphanumeric identifier (UUID) of the account holder's bank account.
        Returns:
        bankAccountUUID
      • setBankAccountUUID

        public void setBankAccountUUID​(String bankAccountUUID)
      • getDescription

        public String getDescription()
        A description of the direct debit. Maximum length: 35 characters. Allowed characters: **a-z**, **A-Z**, **0-9**, and special characters **_/?:().,'+ \";**.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getMerchantAccount

        public String getMerchantAccount()
        Your merchant account.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
      • getSplits

        public List<Split> getSplits()
        Contains instructions on how to split the funds between the accounts in your platform. The request must have at least one split item.
        Returns:
        splits
      • setSplits

        public void setSplits​(List<Split> splits)
      • equals

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

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

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

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