Class ComplianceJurisdictionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ComplianceJurisdictionModel
-
public class ComplianceJurisdictionModel extends java.lang.ObjectModel for distinct jurisdictions.
-
-
Constructor Summary
Constructors Constructor Description ComplianceJurisdictionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCity()Getter for city The name of the city.java.lang.StringgetCountry()Getter for country Name or ISO 3166 code identifying the country of this jurisdiction.java.lang.StringgetCounty()Getter for county The name of the county.java.lang.StringgetJurisdictionTypeId()Getter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.java.lang.StringgetName()Getter for name The name of the jurisdiction.java.util.ArrayList<ComplianceAggregatedTaxRateModel>getRates()Getter for rates Optional: A list of rates for this jurisdiction.java.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country.java.lang.StringgetStateAssignedCode()Getter for stateAssignedCode The state assigned code for the jurisdiction.java.lang.IntegergetTaxAuthorityId()Getter for taxAuthorityId The id of the tax authority.java.lang.IntegergetTaxRegionId()Getter for taxRegionId The id of the tax region.java.lang.StringgetTaxRegionName()Getter for taxRegionName The name of the tax region.voidsetCity(java.lang.String value)Setter for city The name of the city.voidsetCountry(java.lang.String value)Setter for country Name or ISO 3166 code identifying the country of this jurisdiction.voidsetCounty(java.lang.String value)Setter for county The name of the county.voidsetJurisdictionTypeId(java.lang.String value)Setter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.voidsetName(java.lang.String value)Setter for name The name of the jurisdiction.voidsetRates(java.util.ArrayList<ComplianceAggregatedTaxRateModel> value)Setter for rates Optional: A list of rates for this jurisdiction.voidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country.voidsetStateAssignedCode(java.lang.String value)Setter for stateAssignedCode The state assigned code for the jurisdiction.voidsetTaxAuthorityId(java.lang.Integer value)Setter for taxAuthorityId The id of the tax authority.voidsetTaxRegionId(java.lang.Integer value)Setter for taxRegionId The id of the tax region.voidsetTaxRegionName(java.lang.String value)Setter for taxRegionName The name of the tax region.java.lang.StringtoString()Returns a JSON string representation of ComplianceJurisdictionModel
-
-
-
Method Detail
-
getTaxRegionId
public java.lang.Integer getTaxRegionId()
Getter for taxRegionId The id of the tax region.
-
setTaxRegionId
public void setTaxRegionId(java.lang.Integer value)
Setter for taxRegionId The id of the tax region.
-
getStateAssignedCode
public java.lang.String getStateAssignedCode()
Getter for stateAssignedCode The state assigned code for the jurisdiction.
-
setStateAssignedCode
public void setStateAssignedCode(java.lang.String value)
Setter for stateAssignedCode The state assigned code for the jurisdiction.
-
getJurisdictionTypeId
public java.lang.String getJurisdictionTypeId()
Getter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
-
setJurisdictionTypeId
public void setJurisdictionTypeId(java.lang.String value)
Setter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
-
getName
public java.lang.String getName()
Getter for name The name of the jurisdiction.
-
setName
public void setName(java.lang.String value)
Setter for name The name of the jurisdiction.
-
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`.
-
getTaxRegionName
public java.lang.String getTaxRegionName()
Getter for taxRegionName The name of the tax region.
-
setTaxRegionName
public void setTaxRegionName(java.lang.String value)
Setter for taxRegionName The name of the tax region.
-
getTaxAuthorityId
public java.lang.Integer getTaxAuthorityId()
Getter for taxAuthorityId The id of the tax authority.
-
setTaxAuthorityId
public void setTaxAuthorityId(java.lang.Integer value)
Setter for taxAuthorityId The id of the tax authority.
-
getRates
public java.util.ArrayList<ComplianceAggregatedTaxRateModel> getRates()
Getter for rates Optional: A list of rates for this jurisdiction. To fetch this list, add the query string `?$include=TaxRates` to your URL.
-
setRates
public void setRates(java.util.ArrayList<ComplianceAggregatedTaxRateModel> value)
Setter for rates Optional: A list of rates for this jurisdiction. To fetch this list, add the query string `?$include=TaxRates` to your URL.
-
toString
public java.lang.String toString()
Returns a JSON string representation of ComplianceJurisdictionModel- Overrides:
toStringin classjava.lang.Object
-
-