Class SetupBeneficiaryRequest


  • public class SetupBeneficiaryRequest
    extends Object
    SetupBeneficiaryRequest
    • Constructor Detail

      • SetupBeneficiaryRequest

        public SetupBeneficiaryRequest()
    • Method Detail

      • getDestinationAccountCode

        public String getDestinationAccountCode()
        The destination account code.
        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.
        Returns:
        merchantReference
      • setMerchantReference

        public void setMerchantReference​(String merchantReference)
      • getSourceAccountCode

        public String getSourceAccountCode()
        The benefactor account.
        Returns:
        sourceAccountCode
      • setSourceAccountCode

        public void setSourceAccountCode​(String sourceAccountCode)
      • equals

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

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

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

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