Düzenle

Aracılığıyla paylaş


PKPaymentAuthorizationControllerDelegate.DidAuthorizePayment Method

Definition

Overloads

DidAuthorizePayment(PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationResult>)
DidAuthorizePayment(PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationStatus>)

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

DidAuthorizePayment(PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationResult>)

[Foundation.Export("paymentAuthorizationController:didAuthorizePayment: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 DidAuthorizePayment (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPayment payment, Action<PassKit.PKPaymentAuthorizationResult> completion);
abstract member DidAuthorizePayment : PassKit.PKPaymentAuthorizationController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationResult> -> unit
override this.DidAuthorizePayment : PassKit.PKPaymentAuthorizationController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationResult> -> unit

Parameters

payment
PKPayment
Attributes

Applies to

DidAuthorizePayment(PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationStatus>)

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

[Foundation.Export("paymentAuthorizationController:didAuthorizePayment:completion:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'DidAuthorizePayment' overload with the 'Action<PKPaymentAuthorizationResult>' parameter instead.")]
public abstract void DidAuthorizePayment (PassKit.PKPaymentAuthorizationController controller, PassKit.PKPayment payment, Action<PassKit.PKPaymentAuthorizationStatus> completion);
abstract member DidAuthorizePayment : PassKit.PKPaymentAuthorizationController * PassKit.PKPayment * Action<PassKit.PKPaymentAuthorizationStatus> -> unit

Parameters

payment
PKPayment

Implements

Attributes

Applies to