Class TransferFundsRequest


  • public class TransferFundsRequest
    extends Object
    TransferFundsRequest
    • Constructor Detail

      • TransferFundsRequest

        public TransferFundsRequest()
    • Method Detail

      • getAmount

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

        public void setAmount​(Amount amount)
      • getDestinationAccountCode

        public String getDestinationAccountCode()
        The code of the account to which the funds are to be credited. >The state of the Account Holder of this account must be Active.
        Returns:
        destinationAccountCode
      • setDestinationAccountCode

        public void setDestinationAccountCode​(String destinationAccountCode)
      • 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)
      • getSourceAccountCode

        public String getSourceAccountCode()
        The code of the account from which the funds are to be debited. >The state of the Account Holder of this account must be Active and allow payouts.
        Returns:
        sourceAccountCode
      • setSourceAccountCode

        public void setSourceAccountCode​(String sourceAccountCode)
      • getTransferCode

        public String getTransferCode()
        The code related to the type of transfer being performed. >The permitted codes differ for each platform account and are defined in their service level agreement.
        Returns:
        transferCode
      • setTransferCode

        public void setTransferCode​(String transferCode)
      • equals

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

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

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

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