Structure

ApplePayLineItem

A line item in a payment request—for example, total, tax, discount, or grand total.

Overview

An example of a line item:

Listing 1

Line item example

{
    "label": "Free Shipping",
    "amount": "0.00",
    "type": "final"
}

For examples of line items within a ApplePayPaymentRequest, see lineItems and total.

Topics

Line Item Properties

label

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

amount

Required. The monetary amount of the line item.

type

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

See Also

Total and Line Items

total

Required. A line item representing the total for the payment.

lineItems

A set of line items that explain recurring payments and additional charges and discounts.