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 -
        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
      • setAdditionalData

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

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

        public Address getBillingAddress()
        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()
        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 -
        Returns:
        the current FundSource instance, allowing for method chaining
      • getShopperEmail

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

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

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

        public Name getShopperName()
        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 -
        Returns:
        the current FundSource instance, allowing for method chaining
      • getTelephoneNumber

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

        public void setTelephoneNumber​(String telephoneNumber)
        Phone number of the person
        Parameters:
        telephoneNumber -
      • 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
      • 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