Package veryfi.models

Class SharedLineItem

java.lang.Object
veryfi.models.SharedLineItem
Direct Known Subclasses:
AddLineItem, UpdateLineItem

public abstract class SharedLineItem extends Object
Abstract base class for line item models.

This class contains all the common fields that are shared between AddLineItem and UpdateLineItem. These fields represent optional properties that can be set on line items in Veryfi documents.

See Also:
  • Field Details

    • sku

      public String sku
      Stock Keeping Unit (SKU) for the line item. Optional field that can be null.
    • category

      public String category
      Category classification for the line item. Optional field that can be null.
    • tax

      public Float tax
      Tax amount for the line item. Optional field that can be null.
    • price

      public Float price
      Unit price for the line item. Optional field that can be null.
    • unitOfMeasure

      public String unitOfMeasure
      Unit of measure for the line item (e.g., "each", "kg", "lb"). Optional field that can be null.
    • quantity

      public Float quantity
      Quantity of the line item. Optional field that can be null.
    • upc

      public String upc
      Universal Product Code (UPC) for the line item. Optional field that can be null.
    • taxRate

      public Float taxRate
      Tax rate percentage for the line item. Optional field that can be null.
    • discountRate

      public Float discountRate
      Discount rate percentage for the line item. Optional field that can be null.
    • startDate

      public String startDate
      Start date for the line item (format: YYYY-MM-DD). Optional field that can be null.
    • endDate

      public String endDate
      End date for the line item (format: YYYY-MM-DD). Optional field that can be null.
    • hsn

      public String hsn
      Harmonized System Nomenclature (HSN) code for the line item. Optional field that can be null.
    • section

      public String section
      Section or department for the line item. Optional field that can be null.
    • weight

      public String weight
      Weight of the line item. Optional field that can be null.
  • Constructor Details

    • SharedLineItem

      public SharedLineItem()