Class JurisdictionModel

java.lang.Object
net.avalara.avatax.rest.client.models.JurisdictionModel

public class JurisdictionModel extends Object
Represents information about a single legal taxing jurisdiction
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for city The city name of this jurisdiction
    Getter for code The code that is used to identify this jurisdiction
    Getter for country Name or ISO 3166 code identifying the country of this jurisdiction.
    Getter for county The county name of this jurisdiction
    Getter for countyFips County FIPS code
    Getter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
    Getter for endDate The date this jurisdiction stops to take effect on tax calculations
    Getter for id Unique AvaTax Id of this Jurisdiction
    Getter for name The name of this jurisdiction
    Getter for placeFips City FIPS code
    Getter for rate The base rate of tax specific to this jurisdiction.
    Getter for region Name or ISO 3166 code identifying the region within the country.
    Getter for salesRate The "Sales" tax rate specific to this jurisdiction.
    Getter for shortName A short name of the jurisidiction
    Getter for signatureCode The Avalara-supplied signature code for this jurisdiction.
    Getter for stateFips State FIPS code
    Getter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
    Getter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
    void
    setCity(String value)
    Setter for city The city name of this jurisdiction
    void
    setCode(String value)
    Setter for code The code that is used to identify this jurisdiction
    void
    Setter for country Name or ISO 3166 code identifying the country of this jurisdiction.
    void
    Setter for county The county name of this jurisdiction
    void
    Setter for countyFips County FIPS code
    void
    Setter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
    void
    Setter for endDate The date this jurisdiction stops to take effect on tax calculations
    void
    setId(Integer value)
    Setter for id Unique AvaTax Id of this Jurisdiction
    void
    setName(String value)
    Setter for name The name of this jurisdiction
    void
    Setter for placeFips City FIPS code
    void
    Setter for rate The base rate of tax specific to this jurisdiction.
    void
    Setter for region Name or ISO 3166 code identifying the region within the country.
    void
    Setter for salesRate The "Sales" tax rate specific to this jurisdiction.
    void
    Setter for shortName A short name of the jurisidiction
    void
    Setter for signatureCode The Avalara-supplied signature code for this jurisdiction.
    void
    Setter for stateFips State FIPS code
    void
    Setter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
    void
    Setter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
    Returns a JSON string representation of JurisdictionModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • JurisdictionModel

      public JurisdictionModel()
  • Method Details

    • getCode

      public String getCode()
      Getter for code The code that is used to identify this jurisdiction
    • setCode

      public void setCode(String value)
      Setter for code The code that is used to identify this jurisdiction
    • getName

      public String getName()
      Getter for name The name of this jurisdiction
    • setName

      public void setName(String value)
      Setter for name The name of this jurisdiction
    • getType

      public JurisdictionType getType()
      Getter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
    • setType

      public void setType(JurisdictionType value)
      Setter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.
    • getRate

      public BigDecimal getRate()
      Getter for rate The base rate of tax specific to this jurisdiction.
    • setRate

      public void setRate(BigDecimal value)
      Setter for rate The base rate of tax specific to this jurisdiction.
    • getSalesRate

      public BigDecimal getSalesRate()
      Getter for salesRate The "Sales" tax rate specific to this jurisdiction.
    • setSalesRate

      public void setSalesRate(BigDecimal value)
      Setter for salesRate The "Sales" tax rate specific to this jurisdiction.
    • getSignatureCode

      public String getSignatureCode()
      Getter for signatureCode The Avalara-supplied signature code for this jurisdiction.
    • setSignatureCode

      public void setSignatureCode(String value)
      Setter for signatureCode The Avalara-supplied signature code for this jurisdiction.
    • getRegion

      public 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(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`.
    • getUseRate

      public BigDecimal getUseRate()
      Getter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
    • setUseRate

      public void setUseRate(BigDecimal value)
      Setter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
    • getCity

      public String getCity()
      Getter for city The city name of this jurisdiction
    • setCity

      public void setCity(String value)
      Setter for city The city name of this jurisdiction
    • getCounty

      public String getCounty()
      Getter for county The county name of this jurisdiction
    • setCounty

      public void setCounty(String value)
      Setter for county The county name of this jurisdiction
    • getCountry

      public 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(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`.
    • getShortName

      public String getShortName()
      Getter for shortName A short name of the jurisidiction
    • setShortName

      public void setShortName(String value)
      Setter for shortName A short name of the jurisidiction
    • getStateFips

      public String getStateFips()
      Getter for stateFips State FIPS code
    • setStateFips

      public void setStateFips(String value)
      Setter for stateFips State FIPS code
    • getCountyFips

      public String getCountyFips()
      Getter for countyFips County FIPS code
    • setCountyFips

      public void setCountyFips(String value)
      Setter for countyFips County FIPS code
    • getPlaceFips

      public String getPlaceFips()
      Getter for placeFips City FIPS code
    • setPlaceFips

      public void setPlaceFips(String value)
      Setter for placeFips City FIPS code
    • getId

      public Integer getId()
      Getter for id Unique AvaTax Id of this Jurisdiction
    • setId

      public void setId(Integer value)
      Setter for id Unique AvaTax Id of this Jurisdiction
    • getEffectiveDate

      public Date getEffectiveDate()
      Getter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
    • setEffectiveDate

      public void setEffectiveDate(Date value)
      Setter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
    • getEndDate

      public Date getEndDate()
      Getter for endDate The date this jurisdiction stops to take effect on tax calculations
    • setEndDate

      public void setEndDate(Date value)
      Setter for endDate The date this jurisdiction stops to take effect on tax calculations
    • toString

      public String toString()
      Returns a JSON string representation of JurisdictionModel
      Overrides:
      toString in class Object