Class JurisdictionOverrideModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.JurisdictionOverrideModel
-
public class JurisdictionOverrideModel extends java.lang.ObjectRepresents an override of tax jurisdictions for a specific address. During the time period represented by EffDate through EndDate, all tax decisions for addresses matching this override object will be assigned to the list of jurisdictions designated in this object.
-
-
Constructor Summary
Constructors Constructor Description JurisdictionOverrideModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The unique ID number assigned to this account.BoundaryLevelgetBoundaryLevel()Getter for boundaryLevel The boundary level of this overridejava.lang.StringgetCity()Getter for city The city address of the physical location affected by this override.java.lang.StringgetCountry()Getter for country The two character ISO-3166 country code of the country affected by this override.java.util.DategetCreatedDate()Getter for createdDate The date when this record was created.java.lang.IntegergetCreatedUserId()Getter for createdUserId The User ID of the user who created this record.java.lang.StringgetDescription()Getter for description A description of why this jurisdiction override was created.java.util.DategetEffectiveDate()Getter for effectiveDate The date when this override first takes effect.java.util.DategetEndDate()Getter for endDate The date when this override will cease to take effect.java.lang.IntegergetId()Getter for id The unique ID number of this override.java.lang.BooleangetIsDefault()Getter for isDefault True if this is a default boundaryjava.util.ArrayList<JurisdictionModel>getJurisdictions()Getter for jurisdictions A list of the tax jurisdictions that will be assigned to this overridden address.java.lang.StringgetLine1()Getter for line1 The street address of the physical location affected by this override.java.util.DategetModifiedDate()Getter for modifiedDate The date/time when this record was last modified.java.lang.IntegergetModifiedUserId()Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.StringgetPostalCode()Getter for postalCode The postal code of the physical location affected by this override.java.lang.StringgetRegion()Getter for region Name or ISO 3166 code identifying the region within the country to be affected by this override.java.lang.IntegergetTaxRegionId()Getter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.voidsetAccountId(java.lang.Integer value)Setter for accountId The unique ID number assigned to this account.voidsetBoundaryLevel(BoundaryLevel value)Setter for boundaryLevel The boundary level of this overridevoidsetCity(java.lang.String value)Setter for city The city address of the physical location affected by this override.voidsetCountry(java.lang.String value)Setter for country The two character ISO-3166 country code of the country affected by this override.voidsetCreatedDate(java.util.Date value)Setter for createdDate The date when this record was created.voidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId The User ID of the user who created this record.voidsetDescription(java.lang.String value)Setter for description A description of why this jurisdiction override was created.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The date when this override first takes effect.voidsetEndDate(java.util.Date value)Setter for endDate The date when this override will cease to take effect.voidsetId(java.lang.Integer value)Setter for id The unique ID number of this override.voidsetIsDefault(java.lang.Boolean value)Setter for isDefault True if this is a default boundaryvoidsetJurisdictions(java.util.ArrayList<JurisdictionModel> value)Setter for jurisdictions A list of the tax jurisdictions that will be assigned to this overridden address.voidsetLine1(java.lang.String value)Setter for line1 The street address of the physical location affected by this override.voidsetModifiedDate(java.util.Date value)Setter for modifiedDate The date/time when this record was last modified.voidsetModifiedUserId(java.lang.Integer value)Setter for modifiedUserId The user ID of the user who last modified this record.voidsetPostalCode(java.lang.String value)Setter for postalCode The postal code of the physical location affected by this override.voidsetRegion(java.lang.String value)Setter for region Name or ISO 3166 code identifying the region within the country to be affected by this override.voidsetTaxRegionId(java.lang.Integer value)Setter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.java.lang.StringtoString()Returns a JSON string representation of JurisdictionOverrideModel
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Getter for id The unique ID number of this override.
-
setId
public void setId(java.lang.Integer value)
Setter for id The unique ID number of this override.
-
getAccountId
public java.lang.Integer getAccountId()
Getter for accountId The unique ID number assigned to this account.
-
setAccountId
public void setAccountId(java.lang.Integer value)
Setter for accountId The unique ID number assigned to this account.
-
getDescription
public java.lang.String getDescription()
Getter for description A description of why this jurisdiction override was created.
-
setDescription
public void setDescription(java.lang.String value)
Setter for description A description of why this jurisdiction override was created.
-
getLine1
public java.lang.String getLine1()
Getter for line1 The street address of the physical location affected by this override.
-
setLine1
public void setLine1(java.lang.String value)
Setter for line1 The street address of the physical location affected by this override.
-
getCity
public java.lang.String getCity()
Getter for city The city address of the physical location affected by this override.
-
setCity
public void setCity(java.lang.String value)
Setter for city The city address of the physical location affected by this override.
-
getRegion
public java.lang.String getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country to be affected by this override. Note that only United States addresses are affected by the jurisdiction override system. 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 to be affected by this override. Note that only United States addresses are affected by the jurisdiction override system. 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 The two character ISO-3166 country code of the country affected by this override. Note that only United States addresses are affected by the jurisdiction override system.
-
setCountry
public void setCountry(java.lang.String value)
Setter for country The two character ISO-3166 country code of the country affected by this override. Note that only United States addresses are affected by the jurisdiction override system.
-
getPostalCode
public java.lang.String getPostalCode()
Getter for postalCode The postal code of the physical location affected by this override.
-
setPostalCode
public void setPostalCode(java.lang.String value)
Setter for postalCode The postal code of the physical location affected by this override.
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate The date when this override first takes effect. Set this value to null to affect all dates up to the end date.
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date when this override first takes effect. Set this value to null to affect all dates up to the end date.
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate The date when this override will cease to take effect. Set this value to null to never expire.
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate The date when this override will cease to take effect. Set this value to null to never expire.
-
getCreatedDate
public java.util.Date getCreatedDate()
Getter for createdDate The date when this record was created.
-
setCreatedDate
public void setCreatedDate(java.util.Date value)
Setter for createdDate The date when this record was created.
-
getCreatedUserId
public java.lang.Integer getCreatedUserId()
Getter for createdUserId The User ID of the user who created this record.
-
setCreatedUserId
public void setCreatedUserId(java.lang.Integer value)
Setter for createdUserId The User ID of the user who created this record.
-
getModifiedDate
public java.util.Date getModifiedDate()
Getter for modifiedDate The date/time when this record was last modified.
-
setModifiedDate
public void setModifiedDate(java.util.Date value)
Setter for modifiedDate The date/time when this record was last modified.
-
getModifiedUserId
public java.lang.Integer getModifiedUserId()
Getter for modifiedUserId The user ID of the user who last modified this record.
-
setModifiedUserId
public void setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId The user ID of the user who last modified this record.
-
getJurisdictions
public java.util.ArrayList<JurisdictionModel> getJurisdictions()
Getter for jurisdictions A list of the tax jurisdictions that will be assigned to this overridden address.
-
setJurisdictions
public void setJurisdictions(java.util.ArrayList<JurisdictionModel> value)
Setter for jurisdictions A list of the tax jurisdictions that will be assigned to this overridden address.
-
getTaxRegionId
public java.lang.Integer getTaxRegionId()
Getter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.
-
setTaxRegionId
public void setTaxRegionId(java.lang.Integer value)
Setter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.
-
getBoundaryLevel
public BoundaryLevel getBoundaryLevel()
Getter for boundaryLevel The boundary level of this override
-
setBoundaryLevel
public void setBoundaryLevel(BoundaryLevel value)
Setter for boundaryLevel The boundary level of this override
-
getIsDefault
public java.lang.Boolean getIsDefault()
Getter for isDefault True if this is a default boundary
-
setIsDefault
public void setIsDefault(java.lang.Boolean value)
Setter for isDefault True if this is a default boundary
-
toString
public java.lang.String toString()
Returns a JSON string representation of JurisdictionOverrideModel- Overrides:
toStringin classjava.lang.Object
-
-