Class TaxCodeModel

java.lang.Object
net.avalara.avatax.rest.client.models.TaxCodeModel

public class TaxCodeModel extends 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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter 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.
    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
    Setter for companyId The unique ID number of the company that owns this tax code.
    void
    Setter for createdDate The date when this record was created.
    void
    Setter for createdUserId The User ID of the user who created this record.
    void
    Setter for description A friendly description of this tax code.
    void
    Setter for entityUseCode The Avalara Entity Use Code represented by this tax code.
    void
    Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.
    void
    setId(Integer value)
    Setter for id The unique ID number of this tax code.
    void
    Setter for isActive True if this tax code is active and can be used in transactions.
    void
    Setter for isPhysical True if this tax code type refers to a physical object.
    void
    Setter for isSSTCertified True if this tax code has been certified by the Streamlined Sales Tax governing board.
    void
    Setter for modifiedDate The date/time when this record was last modified.
    void
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void
    Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.
    void
    Setter for taxCode A code string that identifies this tax code.
    void
    Setter for taxCodeTypeId The type of this tax code.
    Returns a JSON string representation of TaxCodeModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TaxCodeModel

      public TaxCodeModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this tax code.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this tax code.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The unique ID number of the company that owns this tax code.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId The unique ID number of the company that owns this tax code.
    • getTaxCode

      public String getTaxCode()
      Getter for taxCode A code string that identifies this tax code.
    • setTaxCode

      public void setTaxCode(String value)
      Setter for taxCode A code string that identifies this tax code.
    • getTaxCodeTypeId

      public String getTaxCodeTypeId()
      Getter for taxCodeTypeId The type of this tax code.
    • setTaxCodeTypeId

      public void setTaxCodeTypeId(String value)
      Setter for taxCodeTypeId The type of this tax code.
    • getDescription

      public String getDescription()
      Getter for description A friendly description of this tax code.
    • setDescription

      public void setDescription(String value)
      Setter for description A friendly description of this tax code.
    • getParentTaxCode

      public 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(String value)
      Setter for parentTaxCode If this tax code is a subset of a different tax code, this identifies the parent code.
    • getIsPhysical

      public Boolean getIsPhysical()
      Getter for isPhysical True if this tax code type refers to a physical object. Read only field.
    • setIsPhysical

      public void setIsPhysical(Boolean value)
      Setter for isPhysical True if this tax code type refers to a physical object. Read only field.
    • getGoodsServiceCode

      public Long getGoodsServiceCode()
      Getter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.
    • setGoodsServiceCode

      public void setGoodsServiceCode(Long value)
      Setter for goodsServiceCode The Avalara Goods and Service Code represented by this tax code.
    • getEntityUseCode

      public String getEntityUseCode()
      Getter for entityUseCode The Avalara Entity Use Code represented by this tax code.
    • setEntityUseCode

      public void setEntityUseCode(String value)
      Setter for entityUseCode The Avalara Entity Use Code represented by this tax code.
    • getIsActive

      public Boolean getIsActive()
      Getter for isActive True if this tax code is active and can be used in transactions.
    • setIsActive

      public void setIsActive(Boolean value)
      Setter for isActive True if this tax code is active and can be used in transactions.
    • getIsSSTCertified

      public 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(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 Date getCreatedDate()
      Getter for createdDate The date when this record was created.
    • setCreatedDate

      public void setCreatedDate(Date value)
      Setter for createdDate The date when this record was created.
    • getCreatedUserId

      public Integer getCreatedUserId()
      Getter for createdUserId The User ID of the user who created this record.
    • setCreatedUserId

      public void setCreatedUserId(Integer value)
      Setter for createdUserId The User ID of the user who created this record.
    • getModifiedDate

      public Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
    • setModifiedDate

      public void setModifiedDate(Date value)
      Setter for modifiedDate The date/time when this record was last modified.
    • getModifiedUserId

      public Integer getModifiedUserId()
      Getter for modifiedUserId The user ID of the user who last modified this record.
    • setModifiedUserId

      public void setModifiedUserId(Integer value)
      Setter for modifiedUserId The user ID of the user who last modified this record.
    • toString

      public String toString()
      Returns a JSON string representation of TaxCodeModel
      Overrides:
      toString in class Object