다음을 통해 공유


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[]>

업데이트된 결제 요약 항목 목록을 사용하는 처리기입니다.

특성

적용 대상