Class PayoutAccountHolderRequest


  • public class PayoutAccountHolderRequest
    extends Object
    PayoutAccountHolderRequest
    • Constructor Detail

      • PayoutAccountHolderRequest

        public PayoutAccountHolderRequest()
    • Method Detail

      • getAccountCode

        public String getAccountCode()
        The code of the account from which the payout is to be made.
        Returns:
        accountCode
      • setAccountCode

        public void setAccountCode​(String accountCode)
      • getAccountHolderCode

        public String getAccountHolderCode()
        The code of the Account Holder who owns the account from which the payout is to be made. The Account Holder is the party to which the payout will be made.
        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 unique ID of the Bank Account held by the Account Holder to which the payout is to be made. If left blank, a bank account is automatically selected.
        Returns:
        bankAccountUUID
      • setBankAccountUUID

        public void setBankAccountUUID​(String bankAccountUUID)
      • getDescription

        public String getDescription()
        A description of the payout. Maximum 200 characters. Allowed: **abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/?:().,'+ \";**
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getMerchantReference

        public String getMerchantReference()
        A value that can be supplied at the discretion of the executing user in order to link multiple transactions to one another.
        Returns:
        merchantReference
      • setMerchantReference

        public void setMerchantReference​(String merchantReference)
      • getPayoutMethodCode

        public String getPayoutMethodCode()
        The unique ID of the payout method held by the Account Holder to which the payout is to be made. If left blank, a payout instrument is automatically selected.
        Returns:
        payoutMethodCode
      • setPayoutMethodCode

        public void setPayoutMethodCode​(String payoutMethodCode)
      • equals

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

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

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

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