Editar

Compartilhar via


PKPaymentAuthorizationControllerDelegate_Extensions.DidSelectPaymentMethod Method

Definition

Overloads

DidSelectPaymentMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
DidSelectPaymentMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Developers should not use this deprecated method. Developers should use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.

DidSelectPaymentMethod(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 DidSelectPaymentMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
static member DidSelectPaymentMethod : 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

DidSelectPaymentMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Developers should not use this deprecated method. Developers should use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidSelectPaymentMethod' overload with the 'Action<PKPaymentRequestPaymentMethodUpdate>' parameter instead.")]
public static void DidSelectPaymentMethod (this PassKit.IPKPaymentAuthorizationControllerDelegate This, PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentSummaryItem[]> completion);
static member DidSelectPaymentMethod : PassKit.IPKPaymentAuthorizationControllerDelegate * PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentSummaryItem[]> -> unit

Parameters

This
IPKPaymentAuthorizationControllerDelegate

The instance on which this extension method operates.

controller
PKPaymentAuthorizationController

The controller that owns this delegate.

paymentMethod
PKPaymentMethod

The payment method that was selected.

completion
Action<PKPaymentSummaryItem[]>

A handler that takes a list of updated payment summary items.

Attributes

Applies to