Class ComplianceJurisdictionModel
java.lang.Object
net.avalara.avatax.rest.client.models.ComplianceJurisdictionModel
Model for distinct jurisdictions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()
Getter for city The name of the city.Getter for country Name or ISO 3166 code identifying the country of this jurisdiction.Getter for county The name of the county.Getter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.getName()
Getter for name The name of the jurisdiction.getRates()
Getter for rates Optional: A list of rates for this jurisdiction.Getter for region Name or ISO 3166 code identifying the region within the country.Getter for stateAssignedCode The state assigned code for the jurisdiction.Getter for taxAuthorityId The id of the tax authority.Getter for taxRegionId The id of the tax region.Getter for taxRegionName The name of the tax region.void
Setter for city The name of the city.void
setCountry
(String value) Setter for country Name or ISO 3166 code identifying the country of this jurisdiction.void
Setter for county The name of the county.void
setJurisdictionTypeId
(String value) Setter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.void
Setter for name The name of the jurisdiction.void
Setter for rates Optional: A list of rates for this jurisdiction.void
Setter for region Name or ISO 3166 code identifying the region within the country.void
setStateAssignedCode
(String value) Setter for stateAssignedCode The state assigned code for the jurisdiction.void
setTaxAuthorityId
(Integer value) Setter for taxAuthorityId The id of the tax authority.void
setTaxRegionId
(Integer value) Setter for taxRegionId The id of the tax region.void
setTaxRegionName
(String value) Setter for taxRegionName The name of the tax region.toString()
Returns a JSON string representation of ComplianceJurisdictionModel
-
Constructor Details
-
ComplianceJurisdictionModel
public ComplianceJurisdictionModel()
-
-
Method Details
-
getTaxRegionId
Getter for taxRegionId The id of the tax region. -
setTaxRegionId
Setter for taxRegionId The id of the tax region. -
getStateAssignedCode
Getter for stateAssignedCode The state assigned code for the jurisdiction. -
setStateAssignedCode
Setter for stateAssignedCode The state assigned code for the jurisdiction. -
getJurisdictionTypeId
Getter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example. -
setJurisdictionTypeId
Setter for jurisdictionTypeId The type of the jurisdiction, indicating whether it is a country, state/region, city, for example. -
getName
Getter for name The name of the jurisdiction. -
setName
Setter for name The name of the jurisdiction. -
getCounty
Getter for county The name of the county. -
setCounty
Setter for county The name of the county. -
getCity
Getter for city The name of the city. -
setCity
Setter for city The name of the city. -
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
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
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
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
Getter for taxRegionName The name of the tax region. -
setTaxRegionName
Setter for taxRegionName The name of the tax region. -
getTaxAuthorityId
Getter for taxAuthorityId The id of the tax authority. -
setTaxAuthorityId
Setter for taxAuthorityId The id of the tax authority. -
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
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
Returns a JSON string representation of ComplianceJurisdictionModel
-