Class FundDestination


  • public class FundDestination
    extends Object
    FundDestination
    • Constructor Detail

      • FundDestination

        public FundDestination()
    • Method Detail

      • IBAN

        public FundDestination IBAN​(String IBAN)
        Bank Account Number of the recipient
        Parameters:
        IBAN -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getIBAN

        public String getIBAN()
        Bank Account Number of the recipient
        Returns:
        IBAN
      • setIBAN

        public void setIBAN​(String IBAN)
        Bank Account Number of the recipient
        Parameters:
        IBAN -
      • additionalData

        public FundDestination additionalData​(Map<String,​String> additionalData)
        a map of name/value pairs for passing in additional/industry-specific data
        Parameters:
        additionalData -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getAdditionalData

        public Map<String,​String> getAdditionalData()
        a map of name/value pairs for passing in additional/industry-specific data
        Returns:
        additionalData
      • setAdditionalData

        public void setAdditionalData​(Map<String,​String> additionalData)
        a map of name/value pairs for passing in additional/industry-specific data
        Parameters:
        additionalData -
      • billingAddress

        public FundDestination billingAddress​(Address billingAddress)
        billingAddress
        Parameters:
        billingAddress -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getBillingAddress

        public Address getBillingAddress()
        billingAddress
        Returns:
        billingAddress
      • setBillingAddress

        public void setBillingAddress​(Address billingAddress)
        billingAddress
        Parameters:
        billingAddress -
      • card

        public FundDestination card​(Card card)
        card
        Parameters:
        card -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getCard

        public Card getCard()
        card
        Returns:
        card
      • setCard

        public void setCard​(Card card)
        card
        Parameters:
        card -
      • selectedRecurringDetailReference

        public FundDestination selectedRecurringDetailReference​(String selectedRecurringDetailReference)
        The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.
        Parameters:
        selectedRecurringDetailReference -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getSelectedRecurringDetailReference

        public String getSelectedRecurringDetailReference()
        The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.
        Returns:
        selectedRecurringDetailReference
      • setSelectedRecurringDetailReference

        public void setSelectedRecurringDetailReference​(String selectedRecurringDetailReference)
        The `recurringDetailReference` you want to use for this payment. The value `LATEST` can be used to select the most recently stored recurring detail.
        Parameters:
        selectedRecurringDetailReference -
      • shopperEmail

        public FundDestination shopperEmail​(String shopperEmail)
        the email address of the person
        Parameters:
        shopperEmail -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getShopperEmail

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

        public void setShopperEmail​(String shopperEmail)
        the email address of the person
        Parameters:
        shopperEmail -
      • shopperName

        public FundDestination shopperName​(Name shopperName)
        shopperName
        Parameters:
        shopperName -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getShopperName

        public Name getShopperName()
        shopperName
        Returns:
        shopperName
      • setShopperName

        public void setShopperName​(Name shopperName)
        shopperName
        Parameters:
        shopperName -
      • shopperReference

        public FundDestination shopperReference​(String shopperReference)
        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.
        Parameters:
        shopperReference -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • 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)
        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.
        Parameters:
        shopperReference -
      • subMerchant

        public FundDestination subMerchant​(SubMerchant subMerchant)
        subMerchant
        Parameters:
        subMerchant -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getSubMerchant

        public SubMerchant getSubMerchant()
        subMerchant
        Returns:
        subMerchant
      • setSubMerchant

        public void setSubMerchant​(SubMerchant subMerchant)
        subMerchant
        Parameters:
        subMerchant -
      • telephoneNumber

        public FundDestination telephoneNumber​(String telephoneNumber)
        the telephone number of the person
        Parameters:
        telephoneNumber -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getTelephoneNumber

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

        public void setTelephoneNumber​(String telephoneNumber)
        the telephone number of the person
        Parameters:
        telephoneNumber -
      • walletPurpose

        public FundDestination walletPurpose​(String walletPurpose)
        The purpose of a digital wallet transaction.
        Parameters:
        walletPurpose -
        Returns:
        the current FundDestination instance, allowing for method chaining
      • getWalletPurpose

        public String getWalletPurpose()
        The purpose of a digital wallet transaction.
        Returns:
        walletPurpose
      • setWalletPurpose

        public void setWalletPurpose​(String walletPurpose)
        The purpose of a digital wallet transaction.
        Parameters:
        walletPurpose -
      • equals

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

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

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

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