onApplePayShippingMethodChange(perform:)
Called when a user selected a shipping method. This is required if the user is being asked to provide a shipping method.
Declaration
nonisolated func onApplePayShippingMethodChange(perform action: @escaping (PKShippingMethod) async -> PKPaymentRequestShippingMethodUpdate) -> some View
Return Value
An update to the payment request shipping method.
See Also
Accessing Apple Pay and Wallet
PayWithApplePayButtonAddPassToWalletButtonVerifyIdentityWithWalletButtonaddOrderToWalletButtonStyle(_:)addPassToWalletButtonStyle(_:)onApplePayCouponCodeChange(perform:)onApplePayPaymentMethodChange(perform:)onApplePayShippingContactChange(perform:)payLaterViewAction(_:)payLaterViewDisplayStyle(_:)payWithApplePayButtonStyle(_:)verifyIdentityWithWalletButtonStyle(_:)AsyncShareablePassConfigurationtransactionTask(_:action:)