Package veryfi.models

Class AddLineItem


public class AddLineItem extends SharedLineItem
Model class for adding line items to documents.

This class extends SharedLineItem and provides the necessary fields for creating new line items in Veryfi documents. The required fields are order, description, and total, while all other fields are optional.

See Also:
  • Field Details

    • order

      public Integer order
      The order/position of the line item in the document. This field is required and cannot be null.
    • description

      public String description
      The description or name of the line item. This field is required and cannot be null.
    • total

      public Float total
      The total amount for this line item. This field is required and cannot be null.
  • Constructor Details

    • AddLineItem

      public AddLineItem(Integer order, String description, Float total)
      Creates a new AddLineItem with the required fields.
      Parameters:
      order - The order/position of the line item
      description - The description or name of the line item
      total - The total amount for this line item
  • Method Details