Edit

Share via


IPKPaymentAuthorizationControllerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol PKPaymentAuthorizationControllerDelegate.

[Foundation.Protocol(Name="PKPaymentAuthorizationControllerDelegate", WrapperType=typeof(PassKit.PKPaymentAuthorizationControllerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IPKPaymentAuthorizationControllerDelegate : IDisposable, ObjCRuntime.INativeObject
type IPKPaymentAuthorizationControllerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by PKPaymentAuthorizationControllerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the PKPaymentAuthorizationControllerDelegate protocol.

Optional methods (if any) are provided by the PKPaymentAuthorizationControllerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

DidAuthorizePayment(PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationStatus>)

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

DidFinish(PKPaymentAuthorizationController)

Method that is called when payment authorization has finished.

Extension Methods

DidAuthorizePayment(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationResult>)
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.

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentAuthorizationStatus, PKShippingMethod[],PKPaymentSummaryItem[]>)

Method that is called when a user selects a contact to ship to.

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)
DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKShippingMethod, Action<PKPaymentAuthorizationStatus, PKPaymentSummaryItem[]>)

Method that is called when a user selects a new shipping method.

WillAuthorizePayment(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController)

Method that is called when the user is authorizing a payment request.

Applies to