Class ItemSyncModel
java.lang.Object
net.avalara.avatax.rest.client.models.ItemSyncModel
public class ItemSyncModel
extends java.lang.Object
An abridged item model used for syncing product catalogs with AvaTax.
-
Constructor Summary
Constructors Constructor Description ItemSyncModel() -
Method Summary
Modifier and Type Method Description java.lang.StringgetDescription()Getter for description A friendly description of the item.java.lang.StringgetItemCode()Getter for itemCode A unique code representing this item.java.lang.StringgetItemGroup()Getter for itemGroup A group to which the item belongs.java.lang.StringgetTaxCode()Getter for taxCode The tax code of the item (optional)voidsetDescription(java.lang.String value)Setter for description A friendly description of the item.voidsetItemCode(java.lang.String value)Setter for itemCode A unique code representing this item.voidsetItemGroup(java.lang.String value)Setter for itemGroup A group to which the item belongs.voidsetTaxCode(java.lang.String value)Setter for taxCode The tax code of the item (optional)java.lang.StringtoString()Returns a JSON string representation of ItemSyncModel
-
Constructor Details
-
ItemSyncModel
public ItemSyncModel()
-
-
Method Details
-
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. -
getDescription
public java.lang.String getDescription()Getter for description A friendly description of the item. If your company has enrolled in Streamlined Sales Tax, this description must be auditable. -
setDescription
public void setDescription(java.lang.String value)Setter for description A friendly description of the item. If your company has enrolled in Streamlined Sales Tax, this description must be auditable. -
getItemGroup
public java.lang.String getItemGroup()Getter for itemGroup A group to which the item belongs. -
setItemGroup
public void setItemGroup(java.lang.String value)Setter for itemGroup A group to which the item belongs. -
getTaxCode
public java.lang.String getTaxCode()Getter for taxCode The tax code of the item (optional) -
setTaxCode
public void setTaxCode(java.lang.String value)Setter for taxCode The tax code of the item (optional) -
toString
public java.lang.String toString()Returns a JSON string representation of ItemSyncModel- Overrides:
toStringin classjava.lang.Object
-