Class JurisdictionOverrideModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.JurisdictionOverrideModel
-
public class JurisdictionOverrideModel extends java.lang.Object
Represents 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.Integer
getAccountId()
Getter for accountId The unique ID number assigned to this account.BoundaryLevel
getBoundaryLevel()
Getter for boundaryLevel The boundary level of this overridejava.lang.String
getCity()
Getter for city The city address of the physical location affected by this override.java.lang.String
getCountry()
Getter for country The two character ISO-3166 country code of the country affected by this override.java.util.Date
getCreatedDate()
Getter for createdDate The date when this record was created.java.lang.Integer
getCreatedUserId()
Getter for createdUserId The User ID of the user who created this record.java.lang.String
getDescription()
Getter for description A description of why this jurisdiction override was created.java.util.Date
getEffectiveDate()
Getter for effectiveDate The date when this override first takes effect.java.util.Date
getEndDate()
Getter for endDate The date when this override will cease to take effect.java.lang.Integer
getId()
Getter for id The unique ID number of this override.java.lang.Boolean
getIsDefault()
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.String
getLine1()
Getter for line1 The street address of the physical location affected by this override.java.util.Date
getModifiedDate()
Getter for modifiedDate The date/time when this record was last modified.java.lang.Integer
getModifiedUserId()
Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.String
getPostalCode()
Getter for postalCode The postal code of the physical location affected by this override.java.lang.String
getRegion()
Getter for region Name or ISO 3166 code identifying the region within the country to be affected by this override.java.lang.Integer
getTaxRegionId()
Getter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.void
setAccountId(java.lang.Integer value)
Setter for accountId The unique ID number assigned to this account.void
setBoundaryLevel(BoundaryLevel value)
Setter for boundaryLevel The boundary level of this overridevoid
setCity(java.lang.String value)
Setter for city The city address of the physical location affected by this override.void
setCountry(java.lang.String value)
Setter for country The two character ISO-3166 country code of the country affected by this override.void
setCreatedDate(java.util.Date value)
Setter for createdDate The date when this record was created.void
setCreatedUserId(java.lang.Integer value)
Setter for createdUserId The User ID of the user who created this record.void
setDescription(java.lang.String value)
Setter for description A description of why this jurisdiction override was created.void
setEffectiveDate(java.util.Date value)
Setter for effectiveDate The date when this override first takes effect.void
setEndDate(java.util.Date value)
Setter for endDate The date when this override will cease to take effect.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this override.void
setIsDefault(java.lang.Boolean value)
Setter for isDefault True if this is a default boundaryvoid
setJurisdictions(java.util.ArrayList<JurisdictionModel> value)
Setter for jurisdictions A list of the tax jurisdictions that will be assigned to this overridden address.void
setLine1(java.lang.String value)
Setter for line1 The street address of the physical location affected by this override.void
setModifiedDate(java.util.Date value)
Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId(java.lang.Integer value)
Setter for modifiedUserId The user ID of the user who last modified this record.void
setPostalCode(java.lang.String value)
Setter for postalCode The postal code of the physical location affected by this override.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.void
setTaxRegionId(java.lang.Integer value)
Setter for taxRegionId The TaxRegionId of the new location affected by this jurisdiction override.java.lang.String
toString()
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:
toString
in classjava.lang.Object
-
-