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

# newTotal

The new total that results from a change in the shipping contact.

## Declaration

```data
required ApplePayLineItem newTotal;
```

## Discussion

Discussion Recalculate the total for the payment, because it may change as a result of shipping contact changes.  The newTotal value is required.

## See Also

### Updating shipping contact properties

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