TransactionItem
Represents a transaction line item on a transaction.
- amountType: stringrequired
The extended amount for this line item. This should be the total value of the line (i.e. quantity * base price).
- entryType: string
_id requiredThe POS-specific unique ID for this line item. This should be the ID of the line itself, not the ID of the menu item associated with the line
- itemType: string
_code requiredThe POS-specific menu item ID for this line. This is the ID used to determine offer eligibility.
- levelType: stringrequired
The hierarchy level for this line item, with 0 being the top level.
- lineType: string
_number requiredThe line number, either provided by the POS or generated based on the order of the item as ordered by the POS
- modeType: stringrequired
Allows passing the "order state" of an item to Sparkfly. This is POS-specific and can be ignored if the situation doesn't have the concept. This is most useful in sending whether or not a line item has been sent to the kitchen and to consider it for item eligibility.
- quantityType: stringrequired
The quantity associated with this line item.
- typeType: stringrequired
Allows passing a POS-specific "type" which may indicate the type of line item this is (such as "combo item", "modifier", etc.) This is POS-specific and all values are accepted.
- categoriesType: array string[]
An array of strings, with each entry being a representation of the menu categories this line item's menu item belongs to.
- descriptionType: string
The longer name, as shown on the check in the POS, of this line. May be the longer, less abbreviated name.
- linkedType: string
_entry _id The POS-specific unique ID of the parent line to this line. For example, in the case of linking a combo sub-item to its parent, or a modifier to its parent.
- linkedType: string
_line _number Same linkage as linked_entry_id, but using the line_number field
- nameType: string
The name, as shown on the check in the POS, of this line. May be the short, kitchen display name.
- seatType: string
The seat the line item is associated with. Typically only used in table service restaurants, and only if the POS provides it. The list under required contains the fields that must be provided.