Class TaxRegionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.TaxRegionModel
-
public class TaxRegionModel extends java.lang.Object
The tax region model.
-
-
Constructor Summary
Constructors Constructor Description TaxRegionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCity()
Getter for city The name of the city.java.lang.String
getCode()
Getter for code The code of the tax region.java.lang.String
getCountry()
Getter for country Name or ISO 3166 code identifying the country of this jurisdiction.java.lang.String
getCounty()
Getter for county The name of the county.java.util.Date
getEffectiveDate()
Getter for effectiveDate The date this tax region starts to take effect.java.util.Date
getEndDate()
Getter for endDate The date this tax region stops to take effect.java.lang.Integer
getId()
Getter for id The id of the tax region.java.lang.Boolean
getIsAcm()
Getter for isAcm Is Acm flag.java.lang.Boolean
getIsSst()
Getter for isSst Is SST flag.java.util.ArrayList<DenormalizedJurisModel>
getJurisdictions()
Getter for jurisdictions List of jurisdictions associated with this tax region.java.lang.String
getName()
Getter for name The name of the tax region.java.lang.String
getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country.java.lang.String
getSerCode()
Getter for serCode The ser code.java.lang.String
getSignatureCode()
Getter for signatureCode The tax region signature code.void
setCity(java.lang.String value)
Setter for city The name of the city.void
setCode(java.lang.String value)
Setter for code The code of the tax region.void
setCountry(java.lang.String value)
Setter for country Name or ISO 3166 code identifying the country of this jurisdiction.void
setCounty(java.lang.String value)
Setter for county The name of the county.void
setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date this tax region starts to take effect.void
setEndDate(java.util.Date value)
Setter for endDate The date this tax region stops to take effect.void
setId(java.lang.Integer value)
Setter for id The id of the tax region.void
setIsAcm(java.lang.Boolean value)
Setter for isAcm Is Acm flag.void
setIsSst(java.lang.Boolean value)
Setter for isSst Is SST flag.void
setJurisdictions(java.util.ArrayList<DenormalizedJurisModel> value)
Setter for jurisdictions List of jurisdictions associated with this tax region.void
setName(java.lang.String value)
Setter for name The name of the tax region.void
setRegion(java.lang.String value)
Setter for region Name or ISO 3166 code identifying the region within the country.void
setSerCode(java.lang.String value)
Setter for serCode The ser code.void
setSignatureCode(java.lang.String value)
Setter for signatureCode The tax region signature code.java.lang.String
toString()
Returns a JSON string representation of TaxRegionModel
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Getter for id The id of the tax region.
-
setId
public void setId(java.lang.Integer value)
Setter for id The id of the tax region.
-
getCode
public java.lang.String getCode()
Getter for code The code of the tax region.
-
setCode
public void setCode(java.lang.String value)
Setter for code The code of the tax region.
-
getName
public java.lang.String getName()
Getter for name The name of the tax region.
-
setName
public void setName(java.lang.String value)
Setter for name The name of the tax region.
-
getCounty
public java.lang.String getCounty()
Getter for county The name of the county.
-
setCounty
public void setCounty(java.lang.String value)
Setter for county The name of the county.
-
getCity
public java.lang.String getCity()
Getter for city The name of the city.
-
setCity
public void setCity(java.lang.String value)
Setter for city The name of the city.
-
getRegion
public java.lang.String getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
-
setRegion
public void setRegion(java.lang.String value)
Setter for region Name or ISO 3166 code identifying the region within the country. This field supports many different region identifiers: * Two and three character ISO 3166 region codes * Fully spelled out names of the region in ISO supported languages * Common alternative spellings for many regions For a full list of all supported codes and names, please see the Definitions API `ListRegions`.
-
getCountry
public java.lang.String getCountry()
Getter for country Name or ISO 3166 code identifying the country of this jurisdiction. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
-
setCountry
public void setCountry(java.lang.String value)
Setter for country Name or ISO 3166 code identifying the country of this jurisdiction. This field supports many different country identifiers: * Two character ISO 3166 codes * Three character ISO 3166 codes * Fully spelled out names of the country in ISO supported languages * Common alternative spellings for many countries For a full list of all supported codes and names, please see the Definitions API `ListCountries`.
-
getSerCode
public java.lang.String getSerCode()
Getter for serCode The ser code.
-
setSerCode
public void setSerCode(java.lang.String value)
Setter for serCode The ser code.
-
getSignatureCode
public java.lang.String getSignatureCode()
Getter for signatureCode The tax region signature code.
-
setSignatureCode
public void setSignatureCode(java.lang.String value)
Setter for signatureCode The tax region signature code.
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate The date this tax region starts to take effect.
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date this tax region starts to take effect.
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate The date this tax region stops to take effect.
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate The date this tax region stops to take effect.
-
getIsAcm
public java.lang.Boolean getIsAcm()
Getter for isAcm Is Acm flag.
-
setIsAcm
public void setIsAcm(java.lang.Boolean value)
Setter for isAcm Is Acm flag.
-
getIsSst
public java.lang.Boolean getIsSst()
Getter for isSst Is SST flag.
-
setIsSst
public void setIsSst(java.lang.Boolean value)
Setter for isSst Is SST flag.
-
getJurisdictions
public java.util.ArrayList<DenormalizedJurisModel> getJurisdictions()
Getter for jurisdictions List of jurisdictions associated with this tax region.
-
setJurisdictions
public void setJurisdictions(java.util.ArrayList<DenormalizedJurisModel> value)
Setter for jurisdictions List of jurisdictions associated with this tax region.
-
toString
public java.lang.String toString()
Returns a JSON string representation of TaxRegionModel- Overrides:
toString
in classjava.lang.Object
-
-