---
title: lineItems
framework: applepayontheweb
role: symbol
role_heading: Instance Property
path: applepayontheweb/applepaypaymentrequest/lineitems
---

# lineItems

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

## Declaration

```data
sequence <ApplePayLineItem> lineItems;
```

## Discussion

Discussion See ApplePayLineItem. Use lineItems to explain additional charges, discounts, and pending costs. Provide the total separately, in the total property. Line items aren’t required in a ApplePayPaymentRequest, but can’t be empty if they’re present. The following listing shows line items that include a subtotal, free shipping, and estimated tax. "lineItems": [     {         "label": "Bag Subtotal",         "type": "final",         "amount": "35.00"     },     {         "label": "Free Shipping",         "amount": "0.00",         "type": "final"     },     {         "label": "Estimated Tax",         "amount": "3.06",         "type": "final"     } ] The resulting payment sheet looks like:

## See Also

### Setting the total and summary line items

- [total](applepayontheweb/applepaypaymentrequest/total.md)
- [ApplePayLineItem](applepayontheweb/applepaylineitem.md)
- [ApplePayLineItemType](applepayontheweb/applepaylineitemtype.md)
