Class TaxCodeModel
java.lang.Object
net.avalara.avatax.rest.client.models.TaxCodeModel
Represents a tax code that can be applied to items on a transaction.
A tax code can have specific rules for specific jurisdictions that change the tax calculation behavior.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for companyId The unique ID number of the company that owns this tax code.Getter for createdDate The date when this record was created.Getter for createdUserId The User ID of the user who created this record.Getter for description A friendly description of this tax code.Getter for entityUseCode The Avalara Entity Use Code represented by this tax code.Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.getId()
Getter for id The unique ID number of this tax code.Getter for isActive True if this tax code is active and can be used in transactions.Getter for isPhysical True if this tax code type refers to a physical object.Getter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.Getter for modifiedDate The date/time when this record was last modified.Getter for modifiedUserId The user ID of the user who last modified this record.Getter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.Getter for taxCode A code string that identifies this tax code.Getter for taxCodeTypeId The type of this tax code.void
setCompanyId
(Integer value) Setter for companyId The unique ID number of the company that owns this tax code.void
setCreatedDate
(Date value) Setter for createdDate The date when this record was created.void
setCreatedUserId
(Integer value) Setter for createdUserId The User ID of the user who created this record.void
setDescription
(String value) Setter for description A friendly description of this tax code.void
setEntityUseCode
(String value) Setter for entityUseCode The Avalara Entity Use Code represented by this tax code.void
setGoodsServiceCode
(Long value) Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.void
Setter for id The unique ID number of this tax code.void
setIsActive
(Boolean value) Setter for isActive True if this tax code is active and can be used in transactions.void
setIsPhysical
(Boolean value) Setter for isPhysical True if this tax code type refers to a physical object.void
setIsSSTCertified
(Boolean value) Setter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.void
setModifiedDate
(Date value) Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId
(Integer value) Setter for modifiedUserId The user ID of the user who last modified this record.void
setParentTaxCode
(String value) Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.void
setTaxCode
(String value) Setter for taxCode A code string that identifies this tax code.void
setTaxCodeTypeId
(String value) Setter for taxCodeTypeId The type of this tax code.toString()
Returns a JSON string representation of TaxCodeModel
-
Constructor Details
-
TaxCodeModel
public TaxCodeModel()
-
-
Method Details
-
getId
Getter for id The unique ID number of this tax code. -
setId
Setter for id The unique ID number of this tax code. -
getCompanyId
Getter for companyId The unique ID number of the company that owns this tax code. -
setCompanyId
Setter for companyId The unique ID number of the company that owns this tax code. -
getTaxCode
Getter for taxCode A code string that identifies this tax code. -
setTaxCode
Setter for taxCode A code string that identifies this tax code. -
getTaxCodeTypeId
Getter for taxCodeTypeId The type of this tax code. -
setTaxCodeTypeId
Setter for taxCodeTypeId The type of this tax code. -
getDescription
Getter for description A friendly description of this tax code. -
setDescription
Setter for description A friendly description of this tax code. -
getParentTaxCode
Getter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code. -
setParentTaxCode
Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code. -
getIsPhysical
Getter for isPhysical True if this tax code type refers to a physical object. Read only field. -
setIsPhysical
Setter for isPhysical True if this tax code type refers to a physical object. Read only field. -
getGoodsServiceCode
Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code. -
setGoodsServiceCode
Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code. -
getEntityUseCode
Getter for entityUseCode The Avalara Entity Use Code represented by this tax code. -
setEntityUseCode
Setter for entityUseCode The Avalara Entity Use Code represented by this tax code. -
getIsActive
Getter for isActive True if this tax code is active and can be used in transactions. -
setIsActive
Setter for isActive True if this tax code is active and can be used in transactions. -
getIsSSTCertified
Getter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board. By default, you should leave this value empty. -
setIsSSTCertified
Setter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board. By default, you should leave this value empty. -
getCreatedDate
Getter for createdDate The date when this record was created. -
setCreatedDate
Setter for createdDate The date when this record was created. -
getCreatedUserId
Getter for createdUserId The User ID of the user who created this record. -
setCreatedUserId
Setter for createdUserId The User ID of the user who created this record. -
getModifiedDate
Getter for modifiedDate The date/time when this record was last modified. -
setModifiedDate
Setter for modifiedDate The date/time when this record was last modified. -
getModifiedUserId
Getter for modifiedUserId The user ID of the user who last modified this record. -
setModifiedUserId
Setter for modifiedUserId The user ID of the user who last modified this record. -
toString
Returns a JSON string representation of TaxCodeModel
-