<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "ApplePayontheWeb",
  "identifier" : "/documentation/ApplePayontheWeb/ApplePayShippingMethodUpdate/newTotal",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Apple Pay on the Web"
    ],
    "preciseIdentifier" : "instp/ApplePayShippingMethodUpdate/newTotal"
  },
  "title" : "newTotal"
}
-->

# newTotal

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

```
required ApplePayLineItem newTotal;
```

## Discussion

Recalculate the total for the payment, because it may change as a result of shipping method changes. The [`newTotal`](/documentation/ApplePayontheWeb/ApplePayShippingContactUpdate/newTotal) value is required.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)