Class UPCModel


  • public class UPCModel
    extends java.lang.Object
    One 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.Integer getCompanyId()
      Getter for companyId The unique ID number of the company to which this UPC belongs.
      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 Description of the product to which this UPC applies.
      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.
      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.
      java.lang.Integer getId()
      Getter for id The unique ID number for this UPC.
      java.lang.Integer getIsSystem()
      Getter for isSystem A flag indicating whether this UPC code is attached to the AvaTax system or to a company.
      java.lang.String getLegacyTaxCode()
      Getter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
      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.lang.String getUpc()
      Getter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
      java.lang.Integer getUsage()
      Getter for usage A usage identifier for this UPC code.
      void setCompanyId​(java.lang.Integer value)
      Setter for companyId The unique ID number of the company to which this UPC belongs.
      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 Description of the product to which this UPC applies.
      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.
      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.
      void setId​(java.lang.Integer value)
      Setter for id The unique ID number for this UPC.
      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.
      void setLegacyTaxCode​(java.lang.String value)
      Setter for legacyTaxCode Legacy Tax Code applied to any product sold with this UPC.
      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 setUpc​(java.lang.String value)
      Setter for upc The 12-14 character Universal Product Code, European Article Number, or Global Trade Identification Number.
      void setUsage​(java.lang.Integer value)
      Setter for usage A usage identifier for this UPC code.
      java.lang.String toString()
      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 Detail

      • UPCModel

        public 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:
        toString in class java.lang.Object