次の方法で共有


PKPaymentAuthorizationControllerDelegate.DidSelectPaymentMethod メソッド

定義

オーバーロード

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

ユーザーが支払い方法を選択したときに呼び出される Mehod。

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

パラメーター

paymentMethod
PKPaymentMethod
属性

適用対象

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

ユーザーが支払い方法を選択したときに呼び出される Mehod。

[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

パラメーター

controller
PKPaymentAuthorizationController

このデリゲートを所有するコントローラー。

paymentMethod
PKPaymentMethod

選択された支払い方法。

completion
Action<PKPaymentSummaryItem[]>

更新された支払概要アイテムの一覧を取得するハンドラー。

属性

適用対象