Class IsoRegionModel
java.lang.Object
net.avalara.avatax.rest.client.models.IsoRegionModel
Represents a region, province, or state within a country
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for classification The word in the local language that classifies what type of a region this representsgetCode()
Getter for code The three character ISO 3166 region codeGetter for countryCode The two-character ISO 3166 country code this region belongs toGetter for isRegionTaxable Whether the region collects tax or not.Getter for localizedNames A list of localized names in a variety of languages.getName()
Getter for name The full name, using localized characters, for this region, in uppercase.Getter for streamlinedSalesTax For the United States, this flag indicates whether a U.S.void
setClassification
(String value) Setter for classification The word in the local language that classifies what type of a region this representsvoid
Setter for code The three character ISO 3166 region codevoid
setCountryCode
(String value) Setter for countryCode The two-character ISO 3166 country code this region belongs tovoid
setIsRegionTaxable
(Boolean value) Setter for isRegionTaxable Whether the region collects tax or not.void
Setter for localizedNames A list of localized names in a variety of languages.void
Setter for name The full name, using localized characters, for this region, in uppercase.void
setStreamlinedSalesTax
(Boolean value) Setter for streamlinedSalesTax For the United States, this flag indicates whether a U.S.toString()
Returns a JSON string representation of IsoRegionModel
-
Constructor Details
-
IsoRegionModel
public IsoRegionModel()
-
-
Method Details
-
getCountryCode
Getter for countryCode The two-character ISO 3166 country code this region belongs to -
setCountryCode
Setter for countryCode The two-character ISO 3166 country code this region belongs to -
getCode
Getter for code The three character ISO 3166 region code -
setCode
Setter for code The three character ISO 3166 region code -
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
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
Getter for classification The word in the local language that classifies what type of a region this represents -
setClassification
Setter for classification The word in the local language that classifies what type of a region this represents -
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
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
Getter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization. -
setLocalizedNames
Setter for localizedNames A list of localized names in a variety of languages. This list is maintained by the International Standards Organization. -
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
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
Returns a JSON string representation of IsoRegionModel
-