Modifier

Partager via


PKPaymentAuthorizationControllerDelegate_Extensions.DidSelectShippingMethod Method

Definition

Overloads

DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus, PKPaymentSummaryItem[]>)

Method that is called when a user selects a new shipping method.

DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidSelectShippingMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
static member DidSelectShippingMethod : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit

Parameters

This
IPKPaymentAuthorizationControllerDelegate

The instance on which this extension method operates.

paymentMethod
PKPaymentMethod
Attributes

Applies to

DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus, PKPaymentSummaryItem[]>)

Method that is called when a user selects a new shipping method.

[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 static void DidSelectShippingMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKShippingMethod shippingMethod, Action<PassKit.PKPaymentAuthorizationStatus,PassKit.PKPaymentSummaryItem[]> completion);
static member DidSelectShippingMethod : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKShippingMethod * Action<PassKit.PKPaymentAuthorizationStatus, PassKit.PKPaymentSummaryItem[]> -> unit

Parameters

This
IPKPaymentAuthorizationControllerDelegate

The instance on which this extension method operates.

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

Applies to