Class IsoRegionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.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 representsjava.lang.String
getCode()
Getter for code The three character ISO 3166 region codejava.lang.String
getCountryCode()
Getter for countryCode The two-character ISO 3166 country code this region belongs tojava.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 representsvoid
setCode(java.lang.String value)
Setter for code The three character ISO 3166 region codevoid
setCountryCode(java.lang.String value)
Setter for countryCode The two-character ISO 3166 country code this region belongs tovoid
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
-
-
-
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.
-
toString
public java.lang.String toString()
Returns a JSON string representation of IsoRegionModel- Overrides:
toString
in classjava.lang.Object
-
-