Class ItemModel

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

public class ItemModel extends Object
Represents an item in your company's product catalog.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for category A category of product
    Getter for classifications List of classifications that belong to this item.
    Getter for companyId The unique ID number of the company that owns this item.
    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 item in your product catalog.
    Getter for id The unique ID number of this item.
    Getter for itemCode A unique code representing this item.
    Getter for itemGroup A way to group similar items.
    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 parameters List of item parameters.
    Getter for source Source of creation of this item
    Getter for tags List of item tags.
    Getter for taxCode DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode.
    Getter for taxCodeId DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode.
    Getter for upc Universal unique code for item
    void
    Setter for category A category of product
    void
    Setter for classifications List of classifications that belong to this item.
    void
    Setter for companyId The unique ID number of the company that owns this item.
    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 item in your product catalog.
    void
    setId(Long value)
    Setter for id The unique ID number of this item.
    void
    Setter for itemCode A unique code representing this item.
    void
    Setter for itemGroup A way to group similar items.
    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 parameters List of item parameters.
    void
    Setter for source Source of creation of this item
    void
    Setter for tags List of item tags.
    void
    Setter for taxCode DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode.
    void
    Setter for taxCodeId DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode.
    void
    setUpc(String value)
    Setter for upc Universal unique code for item
    Returns a JSON string representation of ItemModel

    Methods inherited from class java.lang.Object

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

    • ItemModel

      public ItemModel()
  • Method Details

    • getId

      public Long getId()
      Getter for id The unique ID number of this item.
    • setId

      public void setId(Long value)
      Setter for id The unique ID number of this item.
    • getCompanyId

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

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

      public String getItemCode()
      Getter for itemCode A unique code representing this item.
    • setItemCode

      public void setItemCode(String value)
      Setter for itemCode A unique code representing this item.
    • getTaxCodeId

      public Integer getTaxCodeId()
      Getter for taxCodeId DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode. The unique ID number of the tax code that is applied when selling this item. When creating or updating an item, you can either specify the Tax Code ID number or the Tax Code string; you do not need to specify both values.
    • setTaxCodeId

      public void setTaxCodeId(Integer value)
      Setter for taxCodeId DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode. The unique ID number of the tax code that is applied when selling this item. When creating or updating an item, you can either specify the Tax Code ID number or the Tax Code string; you do not need to specify both values.
    • getTaxCode

      public String getTaxCode()
      Getter for taxCode DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode. The unique code string of the Tax Code that is applied when selling this item. When creating or updating an item, you can either specify the Tax Code ID number or the Tax Code string; you do not need to specify both values.
    • setTaxCode

      public void setTaxCode(String value)
      Setter for taxCode DEPRECATED - Date: 11/13/2018, Version: 18.12, Message: For identifying an `Item` with `Avalara TaxCode`, please call the [CreateItemClassification API] with your ItemCode and the Avalara TaxCode. The unique code string of the Tax Code that is applied when selling this item. When creating or updating an item, you can either specify the Tax Code ID number or the Tax Code string; you do not need to specify both values.
    • getDescription

      public String getDescription()
      Getter for description A friendly description of this item in your product catalog.
    • setDescription

      public void setDescription(String value)
      Setter for description A friendly description of this item in your product catalog.
    • getItemGroup

      public String getItemGroup()
      Getter for itemGroup A way to group similar items.
    • setItemGroup

      public void setItemGroup(String value)
      Setter for itemGroup A way to group similar items.
    • getCategory

      public String getCategory()
      Getter for category A category of product
    • setCategory

      public void setCategory(String value)
      Setter for category A category of product
    • 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.
    • getSource

      public String getSource()
      Getter for source Source of creation of this item
    • setSource

      public void setSource(String value)
      Setter for source Source of creation of this item
    • getUpc

      public String getUpc()
      Getter for upc Universal unique code for item
    • setUpc

      public void setUpc(String value)
      Setter for upc Universal unique code for item
    • getClassifications

      public ArrayList<ClassificationModel> getClassifications()
      Getter for classifications List of classifications that belong to this item. A single classification consits of a productCode and a systemCode for a particular item.
    • setClassifications

      public void setClassifications(ArrayList<ClassificationModel> value)
      Setter for classifications List of classifications that belong to this item. A single classification consits of a productCode and a systemCode for a particular item.
    • getParameters

      public ArrayList<ItemParameterModel> getParameters()
      Getter for parameters List of item parameters.
    • setParameters

      public void setParameters(ArrayList<ItemParameterModel> value)
      Setter for parameters List of item parameters.
    • getTags

      public ArrayList<ItemTagDetailModel> getTags()
      Getter for tags List of item tags.
    • setTags

      public void setTags(ArrayList<ItemTagDetailModel> value)
      Setter for tags List of item tags.
    • toString

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