Instance Property

label

Required. A short, localized description of the line item.

Declaration

DOMString label;

Discussion

Provide the label in title case—for example, VAT Tax, Gift Wrap and Card, or Discount. The label cannot be empty.

Omit any punctuation and whitespace after the label. The label is formatted for display by the framework.

See Also

Line Item Properties

amount

Required. The monetary amount of the line item.

type

A value that indicates whether the line item is final or pending.