Builder

constructor(id: String, total: Long)

Constructor.

Parameters

id

The unique identifier for this line item, within the scope of this order. (required)

total

The total price of all items bought in a particular line item (e.g. if 3 bananas were purchased for $3.00 each, total would be 900) (required)