Class IsoRegionModel

java.lang.Object
net.avalara.avatax.rest.client.models.IsoRegionModel

public class IsoRegionModel extends Object
Represents a region, province, or state within a country
  • Constructor Details

    • IsoRegionModel

      public IsoRegionModel()
  • Method Details

    • getCountryCode

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

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

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

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

      public 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(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 String getClassification()
      Getter for classification The word in the local language that classifies what type of a region this represents
    • setClassification

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

      public 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(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 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(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 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(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 String toString()
      Returns a JSON string representation of IsoRegionModel
      Overrides:
      toString in class Object