Class TaxCodeModel
java.lang.Object
net.avalara.avatax.rest.client.models.TaxCodeModel
public class TaxCodeModel
extends java.lang.Object
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 Constructor Description TaxCodeModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getCompanyId()
Getter for companyId The unique ID number of the company that owns this tax code.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 friendly description of this tax code.java.lang.String
getEntityUseCode()
Getter for entityUseCode The Avalara Entity Use Code represented by this tax code.java.lang.Long
getGoodsServiceCode()
Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.java.lang.Integer
getId()
Getter for id The unique ID number of this tax code.java.lang.Boolean
getIsActive()
Getter for isActive True if this tax code is active and can be used in transactions.java.lang.Boolean
getIsPhysical()
Getter for isPhysical True if this tax code type refers to a physical object.java.lang.Boolean
getIsSSTCertified()
Getter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.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
getParentTaxCode()
Getter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.java.lang.String
getTaxCode()
Getter for taxCode A code string that identifies this tax code.java.lang.String
getTaxCodeTypeId()
Getter for taxCodeTypeId The type of this tax code.void
setCompanyId(java.lang.Integer value)
Setter for companyId The unique ID number of the company that owns this tax code.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 friendly description of this tax code.void
setEntityUseCode(java.lang.String value)
Setter for entityUseCode The Avalara Entity Use Code represented by this tax code.void
setGoodsServiceCode(java.lang.Long value)
Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this tax code.void
setIsActive(java.lang.Boolean value)
Setter for isActive True if this tax code is active and can be used in transactions.void
setIsPhysical(java.lang.Boolean value)
Setter for isPhysical True if this tax code type refers to a physical object.void
setIsSSTCertified(java.lang.Boolean value)
Setter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.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
setParentTaxCode(java.lang.String value)
Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.void
setTaxCode(java.lang.String value)
Setter for taxCode A code string that identifies this tax code.void
setTaxCodeTypeId(java.lang.String value)
Setter for taxCodeTypeId The type of this tax code.java.lang.String
toString()
Returns a JSON string representation of TaxCodeModel
-
Constructor Details
-
TaxCodeModel
public TaxCodeModel()
-
-
Method Details
-
getId
public java.lang.Integer getId()Getter for id The unique ID number of this tax code. -
setId
public void setId(java.lang.Integer value)Setter for id The unique ID number of this tax code. -
getCompanyId
public java.lang.Integer getCompanyId()Getter for companyId The unique ID number of the company that owns this tax code. -
setCompanyId
public void setCompanyId(java.lang.Integer value)Setter for companyId The unique ID number of the company that owns this tax code. -
getTaxCode
public java.lang.String getTaxCode()Getter for taxCode A code string that identifies this tax code. -
setTaxCode
public void setTaxCode(java.lang.String value)Setter for taxCode A code string that identifies this tax code. -
getTaxCodeTypeId
public java.lang.String getTaxCodeTypeId()Getter for taxCodeTypeId The type of this tax code. -
setTaxCodeTypeId
public void setTaxCodeTypeId(java.lang.String value)Setter for taxCodeTypeId The type of this tax code. -
getDescription
public java.lang.String getDescription()Getter for description A friendly description of this tax code. -
setDescription
public void setDescription(java.lang.String value)Setter for description A friendly description of this tax code. -
getParentTaxCode
public java.lang.String getParentTaxCode()Getter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code. -
setParentTaxCode
public void setParentTaxCode(java.lang.String value)Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code. -
getIsPhysical
public java.lang.Boolean getIsPhysical()Getter for isPhysical True if this tax code type refers to a physical object. Read only field. -
setIsPhysical
public void setIsPhysical(java.lang.Boolean value)Setter for isPhysical True if this tax code type refers to a physical object. Read only field. -
getGoodsServiceCode
public java.lang.Long getGoodsServiceCode()Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code. -
setGoodsServiceCode
public void setGoodsServiceCode(java.lang.Long value)Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code. -
getEntityUseCode
public java.lang.String getEntityUseCode()Getter for entityUseCode The Avalara Entity Use Code represented by this tax code. -
setEntityUseCode
public void setEntityUseCode(java.lang.String value)Setter for entityUseCode The Avalara Entity Use Code represented by this tax code. -
getIsActive
public java.lang.Boolean getIsActive()Getter for isActive True if this tax code is active and can be used in transactions. -
setIsActive
public void setIsActive(java.lang.Boolean value)Setter for isActive True if this tax code is active and can be used in transactions. -
getIsSSTCertified
public java.lang.Boolean 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
public void setIsSSTCertified(java.lang.Boolean value)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
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. -
toString
public java.lang.String toString()Returns a JSON string representation of TaxCodeModel- Overrides:
toString
in classjava.lang.Object
-