PKPaymentAuthorizationControllerDelegate.DidSelectShippingMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DidSelectShippingMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>) | |
DidSelectShippingMethod(PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus,PKPaymentSummaryItem[]>) |
Method that is called when a user selects a new shipping method. |
DidSelectShippingMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
[Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:handler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidSelectShippingMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
abstract member DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
override this.DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
Parameters
- controller
- PKPaymentAuthorizationController
- paymentMethod
- PKPaymentMethod
- completion
- Action<PKPaymentRequestPaymentMethodUpdate>
- Attributes
Applies to
DidSelectShippingMethod(PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus,PKPaymentSummaryItem[]>)
Method that is called when a user selects a new shipping method.
[Foundation.Export("paymentAuthorizationController:didSelectShippingMethod:completion:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectShippingMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
public virtual void DidSelectShippingMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKShippingMethod shippingMethod, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKPaymentSummaryItem[]> completion);
abstract member DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit
override this.DidSelectShippingMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit
Parameters
- controller
- PKPaymentAuthorizationController
The controller that owns this delegate.
- shippingMethod
- PKShippingMethod
The new shipping method.
- completion
- Action<PKPaymentAuthorizationStatus,PKPaymentSummaryItem[]>
A handler that takes the authorization status for the payment and a list of updated payment summary items.
- Attributes