Class UPCModel
java.lang.Object
net.avalara.avatax.rest.client.models.UPCModel
One Universal Product Code object as defined for your company.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for companyId The unique ID number of the company to which this UPC belongs.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 Description of the product to which this UPC applies.Getter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.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.getId()
Getter for id The unique ID number for this UPC.Getter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.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.getUpc()
Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.getUsage()
Getter for usage A usage identifier for this UPC code.void
setCompanyId
(Integer value) Setter for companyId The unique ID number of the company to which this UPC belongs.void
setCreatedDate
(Date value) Setter for createdDate The date when this record was created.void
setCreatedUserId
(Integer value) Setter for createdUserId The User ID of the user who created this record.void
setDescription
(String value) Setter for description Description of the product to which this UPC applies.void
setEffectiveDate
(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.void
setEndDate
(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.void
Setter for id The unique ID number for this UPC.void
setIsSystem
(Integer value) Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.void
setLegacyTaxCode
(String value) Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.void
setModifiedDate
(Date value) Setter for modifiedDate The date/time when this record was last modified.void
setModifiedUserId
(Integer value) Setter for modifiedUserId The user ID of the user who last modified this record.void
Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.void
Setter for usage A usage identifier for this UPC code.toString()
Returns a JSON string representation of UPCModel
-
Constructor Details
-
UPCModel
public UPCModel()
-
-
Method Details
-
getId
Getter for id The unique ID number for this UPC. -
setId
Setter for id The unique ID number for this UPC. -
getCompanyId
Getter for companyId The unique ID number of the company to which this UPC belongs. -
setCompanyId
Setter for companyId The unique ID number of the company to which this UPC belongs. -
getUpc
Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number. -
setUpc
Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number. -
getLegacyTaxCode
Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC. -
setLegacyTaxCode
Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC. -
getDescription
Getter for description Description of the product to which this UPC applies. -
setDescription
Setter for description Description of the product to which this UPC applies. -
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
Setter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective. -
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
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
Getter for usage A usage identifier for this UPC code. -
setUsage
Setter for usage A usage identifier for this UPC code. -
getIsSystem
Getter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company. -
setIsSystem
Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company. -
getCreatedDate
Getter for createdDate The date when this record was created. -
setCreatedDate
Setter for createdDate The date when this record was created. -
getCreatedUserId
Getter for createdUserId The User ID of the user who created this record. -
setCreatedUserId
Setter for createdUserId The User ID of the user who created this record. -
getModifiedDate
Getter for modifiedDate The date/time when this record was last modified. -
setModifiedDate
Setter for modifiedDate The date/time when this record was last modified. -
getModifiedUserId
Getter for modifiedUserId The user ID of the user who last modified this record. -
setModifiedUserId
Setter for modifiedUserId The user ID of the user who last modified this record. -
toString
Returns a JSON string representation of UPCModel
-