A line item contains a single Item and the quantity that was ordered.
|Field||Description||Modifier and Type|
|Word to associate with this item that will then be used in SmartSearch.|
|The item being ordered, must be a concrete subclass of |
|The quantity of the item being ordered.|
The quantity of the item being ordered.
The item being ordered, must be a concrete subclass of
Item such as
Word to associate with this item that will then be used in SmartSearch.
Builds a line item which contains the specified number of units of a product in an order. This method only builds a data object. To use it, pass it to one of the tracking methods like
|The number of units of the product this line item represents||No|
All cart and order interactions involving
LineItem requires each
LineItem to have a
price. For more information, see