Instance Property

amount

Required. The monetary amount of the line item.

Declaration

DOMString amount;

Discussion

This number must follow the regular expression -?[0-9]+(\.[0-9][0-9])?. The amount is required and cannot be empty.

You specify the currency for the entire transaction including line items by setting the currencyCode property in ApplePayPaymentRequest.

See Also

Line Item Properties

label

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

type

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