Class TaxCodeModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.TaxCodeModel
-
public class TaxCodeModel extends java.lang.ObjectRepresents 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCompanyId()Getter for companyId The unique ID number of the company that owns this tax code.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 friendly description of this tax code.java.lang.StringgetEntityUseCode()Getter for entityUseCode The Avalara Entity Use Code represented by this tax code.java.lang.LonggetGoodsServiceCode()Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.java.lang.IntegergetId()Getter for id The unique ID number of this tax code.java.lang.BooleangetIsActive()Getter for isActive True if this tax code is active and can be used in transactions.java.lang.BooleangetIsPhysical()Getter for isPhysical True if this tax code type refers to a physical object.java.lang.BooleangetIsSSTCertified()Getter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.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.StringgetParentTaxCode()Getter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.java.lang.StringgetTaxCode()Getter for taxCode A code string that identifies this tax code.java.lang.StringgetTaxCodeTypeId()Getter for taxCodeTypeId The type of this tax code.voidsetCompanyId(java.lang.Integer value)Setter for companyId The unique ID number of the company that owns this tax code.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 friendly description of this tax code.voidsetEntityUseCode(java.lang.String value)Setter for entityUseCode The Avalara Entity Use Code represented by this tax code.voidsetGoodsServiceCode(java.lang.Long value)Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.voidsetId(java.lang.Integer value)Setter for id The unique ID number of this tax code.voidsetIsActive(java.lang.Boolean value)Setter for isActive True if this tax code is active and can be used in transactions.voidsetIsPhysical(java.lang.Boolean value)Setter for isPhysical True if this tax code type refers to a physical object.voidsetIsSSTCertified(java.lang.Boolean value)Setter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.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.voidsetParentTaxCode(java.lang.String value)Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.voidsetTaxCode(java.lang.String value)Setter for taxCode A code string that identifies this tax code.voidsetTaxCodeTypeId(java.lang.String value)Setter for taxCodeTypeId The type of this tax code.java.lang.StringtoString()Returns a JSON string representation of TaxCodeModel
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-