Class FundRecipient


  • public class FundRecipient
    extends Object
    FundRecipient
    • Constructor Detail

      • FundRecipient

        public FundRecipient()
    • Method Detail

      • getBillingAddress

        public Address getBillingAddress()
        Get billingAddress
        Returns:
        billingAddress
      • setBillingAddress

        public void setBillingAddress​(Address billingAddress)
      • getPaymentMethod

        public CardDetails getPaymentMethod()
        Get paymentMethod
        Returns:
        paymentMethod
      • setPaymentMethod

        public void setPaymentMethod​(CardDetails paymentMethod)
      • getShopperEmail

        public String getShopperEmail()
        the email address of the person
        Returns:
        shopperEmail
      • setShopperEmail

        public void setShopperEmail​(String shopperEmail)
      • getShopperName

        public Name getShopperName()
        Get shopperName
        Returns:
        shopperName
      • setShopperName

        public void setShopperName​(Name shopperName)
      • getShopperReference

        public String getShopperReference()
        Required for recurring payments. Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters. > Your reference must not include personally identifiable information (PII), for example name or email address.
        Returns:
        shopperReference
      • setShopperReference

        public void setShopperReference​(String shopperReference)
      • storedPaymentMethodId

        public FundRecipient storedPaymentMethodId​(String storedPaymentMethodId)
      • getStoredPaymentMethodId

        public String getStoredPaymentMethodId()
        This is the `recurringDetailReference` returned in the response when you created the token.
        Returns:
        storedPaymentMethodId
      • setStoredPaymentMethodId

        public void setStoredPaymentMethodId​(String storedPaymentMethodId)
      • getSubMerchant

        public SubMerchant getSubMerchant()
        Get subMerchant
        Returns:
        subMerchant
      • setSubMerchant

        public void setSubMerchant​(SubMerchant subMerchant)
      • getTelephoneNumber

        public String getTelephoneNumber()
        the telephone number of the person
        Returns:
        telephoneNumber
      • setTelephoneNumber

        public void setTelephoneNumber​(String telephoneNumber)
      • getWalletIdentifier

        public String getWalletIdentifier()
        indicates where the money is going
        Returns:
        walletIdentifier
      • setWalletIdentifier

        public void setWalletIdentifier​(String walletIdentifier)
      • getWalletOwnerTaxId

        public String getWalletOwnerTaxId()
        indicates the tax identifier of the fund recepient
        Returns:
        walletOwnerTaxId
      • setWalletOwnerTaxId

        public void setWalletOwnerTaxId​(String walletOwnerTaxId)
      • equals

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

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

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

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