---
title: total
framework: applepayontheweb
role: symbol
role_heading: Instance Property
path: applepayontheweb/applepaymodifier/total
---

# total

A line item that represents the total payment.

## Declaration

```data
ApplePayLineItem total;
```

## Mentioned in

Apple Pay on the Web Version 12 Release Notes

## Discussion

Discussion The total must be a positive number greater than zero. This value is the final amount that the payment request authorizes.

## See Also

### Payment line items

- [additionalLineItems](applepayontheweb/applepaymodifier/additionallineitems.md)
