Class UPCModel

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

public class UPCModel extends Object
One Universal Product Code object as defined for your company.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter 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.
    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.
    Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
    Getter for usage A usage identifier for this UPC code.
    void
    Setter for companyId The unique ID number of the company to which this UPC belongs.
    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 Description of the product to which this UPC applies.
    void
    Setter for effectiveDate If this UPC became effective on a certain date, this contains the first date on which the UPC was effective.
    void
    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
    setId(Integer value)
    Setter for id The unique ID number for this UPC.
    void
    Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.
    void
    Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
    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
    setUpc(String value)
    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.
    Returns a JSON string representation of UPCModel

    Methods inherited from class java.lang.Object

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

    • UPCModel

      public UPCModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number for this UPC.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number for this UPC.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The unique ID number of the company to which this UPC belongs.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId The unique ID number of the company to which this UPC belongs.
    • getUpc

      public String getUpc()
      Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
    • setUpc

      public void setUpc(String value)
      Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
    • getLegacyTaxCode

      public String getLegacyTaxCode()
      Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
    • setLegacyTaxCode

      public void setLegacyTaxCode(String value)
      Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
    • getDescription

      public String getDescription()
      Getter for description Description of the product to which this UPC applies.
    • setDescription

      public void setDescription(String value)
      Setter for description Description of the product to which this UPC applies.
    • getEffectiveDate

      public 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(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 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(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 Integer getUsage()
      Getter for usage A usage identifier for this UPC code.
    • setUsage

      public void setUsage(Integer value)
      Setter for usage A usage identifier for this UPC code.
    • getIsSystem

      public 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(Integer value)
      Setter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.
    • 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.
    • toString

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