Class IsoRegionModel


  • public class IsoRegionModel
    extends java.lang.Object
    Represents a region, province, or state within a country
    • Constructor Summary

      Constructors 
      Constructor Description
      IsoRegionModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassification()
      Getter for classification The word in the local language that classifies what type of a region this represents
      java.lang.String getCode()
      Getter for code The three character ISO 3166 region code
      java.lang.String getCountryCode()
      Getter for countryCode The two-character ISO 3166 country code this region belongs to
      java.lang.Boolean getIsRegionTaxable()
      Getter for isRegionTaxable Whether the region collects tax or not.
      java.util.ArrayList<IsoLocalizedName> getLocalizedNames()
      Getter for localizedNames A list of localized names in a variety of languages.
      java.lang.String getName()
      Getter for name The full name, using localized characters, for this region, in uppercase.
      java.lang.Boolean getStreamlinedSalesTax()
      Getter for streamlinedSalesTax For the United States, this flag indicates whether a U.S.
      void setClassification​(java.lang.String value)
      Setter for classification The word in the local language that classifies what type of a region this represents
      void setCode​(java.lang.String value)
      Setter for code The three character ISO 3166 region code
      void setCountryCode​(java.lang.String value)
      Setter for countryCode The two-character ISO 3166 country code this region belongs to
      void setIsRegionTaxable​(java.lang.Boolean value)
      Setter for isRegionTaxable Whether the region collects tax or not.
      void setLocalizedNames​(java.util.ArrayList<IsoLocalizedName> value)
      Setter for localizedNames A list of localized names in a variety of languages.
      void setName​(java.lang.String value)
      Setter for name The full name, using localized characters, for this region, in uppercase.
      void setStreamlinedSalesTax​(java.lang.Boolean value)
      Setter for streamlinedSalesTax For the United States, this flag indicates whether a U.S.
      java.lang.String toString()
      Returns a JSON string representation of IsoRegionModel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IsoRegionModel

        public IsoRegionModel()
    • Method Detail

      • getCountryCode

        public java.lang.String getCountryCode()
        Getter for countryCode The two-character ISO 3166 country code this region belongs to
      • setCountryCode

        public void setCountryCode​(java.lang.String value)
        Setter for countryCode The two-character ISO 3166 country code this region belongs to
      • getCode

        public java.lang.String getCode()
        Getter for code The three character ISO 3166 region code
      • setCode

        public void setCode​(java.lang.String value)
        Setter for code The three character ISO 3166 region code
      • getName

        public java.lang.String getName()
        Getter for name The full name, using localized characters, for this region, in uppercase. For names in proper or formal case, or for names in other languages, please examine the `localizedNames` element for an appropriate name.
      • setName

        public void setName​(java.lang.String value)
        Setter for name The full name, using localized characters, for this region, in uppercase. For names in proper or formal case, or for names in other languages, please examine the `localizedNames` element for an appropriate name.
      • getClassification

        public java.lang.String getClassification()
        Getter for classification The word in the local language that classifies what type of a region this represents
      • setClassification

        public void setClassification​(java.lang.String value)
        Setter for classification The word in the local language that classifies what type of a region this represents
      • getStreamlinedSalesTax

        public java.lang.Boolean getStreamlinedSalesTax()
        Getter for streamlinedSalesTax For the United States, this flag indicates whether a U.S. State participates in the Streamlined Sales Tax program. For countries other than the US, this flag is null.
      • setStreamlinedSalesTax

        public void setStreamlinedSalesTax​(java.lang.Boolean value)
        Setter for streamlinedSalesTax For the United States, this flag indicates whether a U.S. State participates in the Streamlined Sales Tax program. For countries other than the US, this flag is null.
      • getLocalizedNames

        public java.util.ArrayList<IsoLocalizedName> getLocalizedNames()
        Getter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization.
      • setLocalizedNames

        public void setLocalizedNames​(java.util.ArrayList<IsoLocalizedName> value)
        Setter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization.
      • getIsRegionTaxable

        public java.lang.Boolean getIsRegionTaxable()
        Getter for isRegionTaxable Whether the region collects tax or not. This field will be populated for US country only and will be null for all the other countries.
      • setIsRegionTaxable

        public void setIsRegionTaxable​(java.lang.Boolean value)
        Setter for isRegionTaxable Whether the region collects tax or not. This field will be populated for US country only and will be null for all the other countries.
      • toString

        public java.lang.String toString()
        Returns a JSON string representation of IsoRegionModel
        Overrides:
        toString in class java.lang.Object