Class ItemModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.ItemModel
-
public class ItemModel extends java.lang.Object
Represents an item in your company's product catalog.
-
-
Constructor Summary
Constructors Constructor Description ItemModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCategory()
Getter for category A category of productjava.util.ArrayList<ClassificationModel>
getClassifications()
Getter for classifications List of classifications that belong to this item.java.lang.Integer
getCompanyId()
Getter for companyId The unique ID number of the company that owns this item.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 item in your product catalog.java.lang.Long
getId()
Getter for id The unique ID number of this item.java.lang.String
getItemCode()
Getter for itemCode A unique code representing this item.java.lang.String
getItemGroup()
Getter for itemGroup A way to group similar items.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.util.ArrayList<ItemParameterModel>
getParameters()
Getter for parameters List of item parameters.java.util.HashMap<java.lang.String,java.lang.String>
getProperties()
Getter for properties Additional key-description of the product.java.lang.String
getSource()
Getter for source Source of creation of this itemjava.lang.String
getSourceEntityId()
Getter for sourceEntityId The Id of this item at the sourcejava.util.ArrayList<ItemTagDetailInputModel>
getTags()
Getter for tags List of item tags.java.lang.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.java.lang.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.java.lang.String
getUpc()
Getter for upc Universal unique code for itemvoid
setCategory(java.lang.String value)
Setter for category A category of productvoid
setClassifications(java.util.ArrayList<ClassificationModel> value)
Setter for classifications List of classifications that belong to this item.void
setCompanyId(java.lang.Integer value)
Setter for companyId The unique ID number of the company that owns this item.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 item in your product catalog.void
setId(java.lang.Long value)
Setter for id The unique ID number of this item.void
setItemCode(java.lang.String value)
Setter for itemCode A unique code representing this item.void
setItemGroup(java.lang.String value)
Setter for itemGroup A way to group similar items.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
setParameters(java.util.ArrayList<ItemParameterModel> value)
Setter for parameters List of item parameters.void
setProperties(java.util.HashMap<java.lang.String,java.lang.String> value)
Setter for properties Additional key-description of the product.void
setSource(java.lang.String value)
Setter for source Source of creation of this itemvoid
setSourceEntityId(java.lang.String value)
Setter for sourceEntityId The Id of this item at the sourcevoid
setTags(java.util.ArrayList<ItemTagDetailInputModel> value)
Setter for tags List of item tags.void
setTaxCode(java.lang.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.void
setTaxCodeId(java.lang.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.void
setUpc(java.lang.String value)
Setter for upc Universal unique code for itemjava.lang.String
toString()
Returns a JSON string representation of ItemModel
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Getter for id The unique ID number of this item.
-
setId
public void setId(java.lang.Long value)
Setter for id The unique ID number of this item.
-
getCompanyId
public java.lang.Integer getCompanyId()
Getter for companyId The unique ID number of the company that owns this item.
-
setCompanyId
public void setCompanyId(java.lang.Integer value)
Setter for companyId The unique ID number of the company that owns this item.
-
getItemCode
public java.lang.String getItemCode()
Getter for itemCode A unique code representing this item.
-
setItemCode
public void setItemCode(java.lang.String value)
Setter for itemCode A unique code representing this item.
-
getTaxCodeId
public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String getDescription()
Getter for description A friendly description of this item in your product catalog.
-
setDescription
public void setDescription(java.lang.String value)
Setter for description A friendly description of this item in your product catalog.
-
getItemGroup
public java.lang.String getItemGroup()
Getter for itemGroup A way to group similar items.
-
setItemGroup
public void setItemGroup(java.lang.String value)
Setter for itemGroup A way to group similar items.
-
getCategory
public java.lang.String getCategory()
Getter for category A category of product
-
setCategory
public void setCategory(java.lang.String value)
Setter for category A category of product
-
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.
-
getSource
public java.lang.String getSource()
Getter for source Source of creation of this item
-
setSource
public void setSource(java.lang.String value)
Setter for source Source of creation of this item
-
getSourceEntityId
public java.lang.String getSourceEntityId()
Getter for sourceEntityId The Id of this item at the source
-
setSourceEntityId
public void setSourceEntityId(java.lang.String value)
Setter for sourceEntityId The Id of this item at the source
-
getUpc
public java.lang.String getUpc()
Getter for upc Universal unique code for item
-
setUpc
public void setUpc(java.lang.String value)
Setter for upc Universal unique code for item
-
getClassifications
public java.util.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(java.util.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 java.util.ArrayList<ItemParameterModel> getParameters()
Getter for parameters List of item parameters.
-
setParameters
public void setParameters(java.util.ArrayList<ItemParameterModel> value)
Setter for parameters List of item parameters.
-
getTags
public java.util.ArrayList<ItemTagDetailInputModel> getTags()
Getter for tags List of item tags.
-
setTags
public void setTags(java.util.ArrayList<ItemTagDetailInputModel> value)
Setter for tags List of item tags.
-
getProperties
public java.util.HashMap<java.lang.String,java.lang.String> getProperties()
Getter for properties Additional key-description of the product.
-
setProperties
public void setProperties(java.util.HashMap<java.lang.String,java.lang.String> value)
Setter for properties Additional key-description of the product.
-
toString
public java.lang.String toString()
Returns a JSON string representation of ItemModel- Overrides:
toString
in classjava.lang.Object
-
-