Class UPCModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.UPCModel
-
public class UPCModel extends java.lang.ObjectOne Universal Product Code object as defined for your company.
-
-
Constructor Summary
Constructors Constructor Description UPCModel()
-
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 to which this UPC belongs.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 Description of the product to which this UPC applies.java.util.DategetEffectiveDate()Getter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.java.util.DategetEndDate()Getter for endDate If this UPC expired or will expire on a certain date, this contains the last date on which the UPC was effective.java.lang.IntegergetId()Getter for id The unique ID number for this UPC.java.lang.IntegergetIsSystem()Getter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.java.lang.StringgetLegacyTaxCode()Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.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.StringgetUpc()Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.java.lang.IntegergetUsage()Getter for usage A usage identifier for this UPC code.voidsetCompanyId(java.lang.Integer value)Setter for companyId The unique ID number of the company to which this UPC belongs.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 Description of the product to which this UPC applies.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.voidsetEndDate(java.util.Date value)Setter for endDate If this UPC expired or will expire on a certain date, this contains the last date on which the UPC was effective.voidsetId(java.lang.Integer value)Setter for id The unique ID number for this UPC.voidsetIsSystem(java.lang.Integer value)Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.voidsetLegacyTaxCode(java.lang.String value)Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.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.voidsetUpc(java.lang.String value)Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.voidsetUsage(java.lang.Integer value)Setter for usage A usage identifier for this UPC code.java.lang.StringtoString()Returns a JSON string representation of UPCModel
-
-
-
Method Detail
-
getId
public java.lang.Integer getId()
Getter for id The unique ID number for this UPC.
-
setId
public void setId(java.lang.Integer value)
Setter for id The unique ID number for this UPC.
-
getCompanyId
public java.lang.Integer getCompanyId()
Getter for companyId The unique ID number of the company to which this UPC belongs.
-
setCompanyId
public void setCompanyId(java.lang.Integer value)
Setter for companyId The unique ID number of the company to which this UPC belongs.
-
getUpc
public java.lang.String getUpc()
Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
-
setUpc
public void setUpc(java.lang.String value)
Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
-
getLegacyTaxCode
public java.lang.String getLegacyTaxCode()
Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
-
setLegacyTaxCode
public void setLegacyTaxCode(java.lang.String value)
Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
-
getDescription
public java.lang.String getDescription()
Getter for description Description of the product to which this UPC applies.
-
setDescription
public void setDescription(java.lang.String value)
Setter for description Description of the product to which this UPC applies.
-
getEffectiveDate
public java.util.Date getEffectiveDate()
Getter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.
-
setEffectiveDate
public void setEffectiveDate(java.util.Date value)
Setter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.
-
getEndDate
public java.util.Date getEndDate()
Getter for endDate If this UPC expired or will expire on a certain date, this contains the last date on which the UPC was effective.
-
setEndDate
public void setEndDate(java.util.Date value)
Setter for endDate If this UPC expired or will expire on a certain date, this contains the last date on which the UPC was effective.
-
getUsage
public java.lang.Integer getUsage()
Getter for usage A usage identifier for this UPC code.
-
setUsage
public void setUsage(java.lang.Integer value)
Setter for usage A usage identifier for this UPC code.
-
getIsSystem
public java.lang.Integer getIsSystem()
Getter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.
-
setIsSystem
public void setIsSystem(java.lang.Integer value)
Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.
-
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 UPCModel- Overrides:
toStringin classjava.lang.Object
-
-