<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKPaymentRequestShippingContactUpdate",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKPaymentRequestShippingContactUpdate"
  },
  "title" : "PKPaymentRequestShippingContactUpdate"
}
-->

# PKPaymentRequestShippingContactUpdate

An object that updates the payment request after the shipping contact information changes.

```
class PKPaymentRequestShippingContactUpdate
```

## Overview

This is the handler for [`paymentAuthorizationController(_:didSelectShippingContact:handler:)`](/documentation/PassKit/PKPaymentAuthorizationControllerDelegate/paymentAuthorizationController(_:didSelectShippingContact:handler:)) and [`paymentAuthorizationViewController(_:didSelectShippingContact:handler:)`](/documentation/PassKit/PKPaymentAuthorizationViewControllerDelegate/paymentAuthorizationViewController(_:didSelectShippingContact:handler:)).

Use this object to update the available shipping methods and, if the user has selected a shipping method, the current shipping cost.

## Topics

### Creating a shipping contact update

[`-  initWithErrors:paymentSummaryItems:shippingMethods:`](/documentation/PassKit/PKPaymentRequestShippingContactUpdate/init(errors:paymentSummaryItems:shippingMethods:))

Creates a shipping contact update with your specified payment summary items and shipping methods.

### Updating user errors and shipping methods

[`errors`](/documentation/PassKit/PKPaymentRequestShippingContactUpdate/errors)

An array of shipping contact information errors that the user must resolve.

[`shippingMethods`](/documentation/PassKit/PKPaymentRequestShippingContactUpdate/shippingMethods)

An array of shipping methods.

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`PKPaymentRequestUpdate`](/documentation/PassKit/PKPaymentRequestUpdate)

---

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)