Class JurisdictionModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.JurisdictionModel
-
public class JurisdictionModel extends java.lang.ObjectRepresents information about a single legal taxing jurisdiction
-
-
Constructor Summary
Constructors Constructor Description JurisdictionModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCity()Getter for city The city name of this jurisdictionjava.lang.StringgetCode()Getter for code The code that is used to identify this jurisdictionjava.lang.StringgetCountry()Getter for country Name or ISO 3166 code identifying the country of this jurisdiction.java.lang.StringgetCounty()Getter for county The county name of this jurisdictionjava.lang.StringgetCountyFips()Getter for countyFips County FIPS codejava.util.DategetEffectiveDate()Getter for effectiveDate The date this jurisdiction starts to take effect on tax calculationsjava.util.DategetEndDate()Getter for endDate The date this jurisdiction stops to take effect on tax calculationsjava.lang.IntegergetId()Getter for id Unique AvaTax Id of this Jurisdictionjava.lang.StringgetName()Getter for name The name of this jurisdictionjava.lang.StringgetPlaceFips()Getter for placeFips City FIPS codejava.math.BigDecimalgetRate()Getter for rate The base rate of tax specific to this jurisdiction.java.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country.java.math.BigDecimalgetSalesRate()Getter for salesRate The "Sales" tax rate specific to this jurisdiction.java.lang.StringgetShortName()Getter for shortName A short name of the jurisidictionjava.lang.StringgetSignatureCode()Getter for signatureCode The Avalara-supplied signature code for this jurisdiction.java.lang.StringgetStateFips()Getter for stateFips State FIPS codeJurisdictionTypegetType()Getter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.java.math.BigDecimalgetUseRate()Getter for useRate The "Seller's Use" tax rate specific to this jurisdiction.voidsetCity(java.lang.String value)Setter for city The city name of this jurisdictionvoidsetCode(java.lang.String value)Setter for code The code that is used to identify this jurisdictionvoidsetCountry(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 county name of this jurisdictionvoidsetCountyFips(java.lang.String value)Setter for countyFips County FIPS codevoidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The date this jurisdiction starts to take effect on tax calculationsvoidsetEndDate(java.util.Date value)Setter for endDate The date this jurisdiction stops to take effect on tax calculationsvoidsetId(java.lang.Integer value)Setter for id Unique AvaTax Id of this JurisdictionvoidsetName(java.lang.String value)Setter for name The name of this jurisdictionvoidsetPlaceFips(java.lang.String value)Setter for placeFips City FIPS codevoidsetRate(java.math.BigDecimal value)Setter for rate The base rate of tax specific to this jurisdiction.voidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country.voidsetSalesRate(java.math.BigDecimal value)Setter for salesRate The "Sales" tax rate specific to this jurisdiction.voidsetShortName(java.lang.String value)Setter for shortName A short name of the jurisidictionvoidsetSignatureCode(java.lang.String value)Setter for signatureCode The Avalara-supplied signature code for this jurisdiction.voidsetStateFips(java.lang.String value)Setter for stateFips State FIPS codevoidsetType(JurisdictionType value)Setter for type The type of the jurisdiction, indicating whether it is a country, state/region, city, for example.voidsetUseRate(java.math.BigDecimal value)Setter for useRate The "Seller's Use" tax rate specific to this jurisdiction.java.lang.StringtoString()Returns a JSON string representation of JurisdictionModel
-
-
-
Method Detail
-
getCode
public java.lang.String getCode()
Getter for code The code that is used to identify this jurisdiction
-
setCode
public void setCode(java.lang.String value)
Setter for code The code that is used to identify this jurisdiction
-
getName
public java.lang.String getName()
Getter for name The name of this jurisdiction
-
setName
public void setName(java.lang.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 java.math.BigDecimal getRate()
Getter for rate The base rate of tax specific to this jurisdiction.
-
setRate
public void setRate(java.math.BigDecimal value)
Setter for rate The base rate of tax specific to this jurisdiction.
-
getSalesRate
public java.math.BigDecimal getSalesRate()
Getter for salesRate The "Sales" tax rate specific to this jurisdiction.
-
setSalesRate
public void setSalesRate(java.math.BigDecimal value)
Setter for salesRate The "Sales" tax rate specific to this jurisdiction.
-
getSignatureCode
public java.lang.String getSignatureCode()
Getter for signatureCode The Avalara-supplied signature code for this jurisdiction.
-
setSignatureCode
public void setSignatureCode(java.lang.String value)
Setter for signatureCode The Avalara-supplied signature code for this jurisdiction.
-
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`.
-
getUseRate
public java.math.BigDecimal getUseRate()
Getter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
-
setUseRate
public void setUseRate(java.math.BigDecimal value)
Setter for useRate The "Seller's Use" tax rate specific to this jurisdiction.
-
getCity
public java.lang.String getCity()
Getter for city The city name of this jurisdiction
-
setCity
public void setCity(java.lang.String value)
Setter for city The city name of this jurisdiction
-
getCounty
public java.lang.String getCounty()
Getter for county The county name of this jurisdiction
-
setCounty
public void setCounty(java.lang.String value)
Setter for county The county name of this jurisdiction
-
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`.
-
getShortName
public java.lang.String getShortName()
Getter for shortName A short name of the jurisidiction
-
setShortName
public void setShortName(java.lang.String value)
Setter for shortName A short name of the jurisidiction
-
getStateFips
public java.lang.String getStateFips()
Getter for stateFips State FIPS code
-
setStateFips
public void setStateFips(java.lang.String value)
Setter for stateFips State FIPS code
-
getCountyFips
public java.lang.String getCountyFips()
Getter for countyFips County FIPS code
-
setCountyFips
public void setCountyFips(java.lang.String value)
Setter for countyFips County FIPS code
-
getPlaceFips
public java.lang.String getPlaceFips()
Getter for placeFips City FIPS code
-
setPlaceFips
public void setPlaceFips(java.lang.String value)
Setter for placeFips City FIPS code
-
getId
public java.lang.Integer getId()
Getter for id Unique AvaTax Id of this Jurisdiction
-
setId
public void setId(java.lang.Integer value)
Setter for id Unique AvaTax Id of this Jurisdiction
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date this jurisdiction starts to take effect on tax calculations
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate The date this jurisdiction stops to take effect on tax calculations
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate The date this jurisdiction stops to take effect on tax calculations
-
toString
public java.lang.String toString()
Returns a JSON string representation of JurisdictionModel- Overrides:
toStringin classjava.lang.Object
-
-