Class FundOrigin


  • public class FundOrigin
    extends Object
    FundOrigin
    • Constructor Detail

      • FundOrigin

        public FundOrigin()
    • Method Detail

      • getBillingAddress

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

        public void setBillingAddress​(Address billingAddress)
      • getShopperName

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

        public void setShopperName​(Name shopperName)
      • hashCode

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

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        IOException - if the JSON Object is invalid with respect to FundOrigin
      • fromJson

        public static FundOrigin fromJson​(String jsonString)
                                   throws IOException
        Create an instance of FundOrigin given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FundOrigin
        Throws:
        IOException - if the JSON string is invalid with respect to FundOrigin
      • toJson

        public String toJson()
        Convert an instance of FundOrigin to an JSON string
        Returns:
        JSON string