---
title: PKPaymentRequestPaymentMethodUpdate
framework: passkit
role: symbol
role_heading: Class
path: passkit/pkpaymentrequestpaymentmethodupdate
---

# PKPaymentRequestPaymentMethodUpdate

An object that updates the payment request after the payment method changes.

## Declaration

```swift
class PKPaymentRequestPaymentMethodUpdate
```

## Overview

Overview This is the handler for paymentAuthorizationController(_:didSelectPaymentMethod:handler:) and paymentAuthorizationViewController(_:didSelect:handler:). Update the summary items to reflect the change in payment method.

## Topics

### Creating a payment request update

- [init(errors:paymentSummaryItems:)](passkit/pkpaymentrequestpaymentmethodupdate/init(errors:paymentsummaryitems:).md)

### Getting user errors

- [errors](passkit/pkpaymentrequestpaymentmethodupdate/errors.md)

## Relationships

### Inherits From

- [PKPaymentRequestUpdate](passkit/pkpaymentrequestupdate.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Payment sheet updates

- [PKPaymentRequestMerchantSessionUpdate](passkit/pkpaymentrequestmerchantsessionupdate.md)
- [PKPaymentRequestShippingContactUpdate](passkit/pkpaymentrequestshippingcontactupdate.md)
- [PKPaymentRequestShippingMethodUpdate](passkit/pkpaymentrequestshippingmethodupdate.md)
- [PKPaymentRequestCouponCodeUpdate](passkit/pkpaymentrequestcouponcodeupdate.md)
- [PKPaymentRequestUpdate](passkit/pkpaymentrequestupdate.md)
