Class FundSource


  • public class FundSource
    extends Object
    FundSource
    • Constructor Detail

      • FundSource

        public FundSource()
    • Method Detail

      • additionalData

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

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

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

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

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

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

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

        public Card getCard()
        Get card
        Returns:
        card
      • setCard

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

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

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

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

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

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

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

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

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

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

        public FundSource includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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