PKPaymentAuthorizationControllerDelegate.DidSelectPaymentMethod Method

Definition

Overloads

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

Mehod that is called when the user selects a payment method.

DidSelectPaymentMethod(PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

[Foundation.Export("paymentAuthorizationController:didSelectPaymentMethod: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 DidSelectPaymentMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentRequestPaymentMethodUpdate> completion);
abstract member DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit
override this.DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentRequestPaymentMethodUpdate> -> unit

Parameters

paymentMethod
PKPaymentMethod
Attributes

Applies to

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

Mehod that is called when the user selects a payment method.

[Foundation.Export("paymentAuthorizationController:didSelectPaymentMethod:completion:")]
[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 virtual void DidSelectPaymentMethod (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPaymentMethod paymentMethod, Action<PassKit.PKPaymentSummaryItem[]> completion);
abstract member DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentSummaryItem[]> -> unit
override this.DidSelectPaymentMethod : PassKit.PKPaymentAuthorizationController * PassKit.PKPaymentMethod * Action<PassKit.PKPaymentSummaryItem[]> -> unit

Parameters

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