---
title: newTotal
framework: applepayontheweb
role: symbol
role_heading: Instance Property
path: applepayontheweb/applepaypaymentmethodupdate/newtotal
---

# newTotal

The new total that results from the user’s change to the payment method.

## Declaration

```data
required ApplePayLineItem newTotal;
```

## Discussion

Discussion Calculate the total for the payment, as it may change after the user updated the payment method. This value is required.

## See Also

### Updating payment method properties

- [newLineItems](applepayontheweb/applepaypaymentmethodupdate/newlineitems.md)
- [errors](applepayontheweb/applepaypaymentmethodupdate/errors.md)
- [newShippingMethods](applepayontheweb/applepaypaymentmethodupdate/newshippingmethods.md)
