PKPaymentAuthorizationControllerDelegate_Extensions Class

Definition

Extension methods to the IPKPaymentAuthorizationControllerDelegate interface to support all the methods from the PKPaymentAuthorizationControllerDelegate protocol.

public static class PKPaymentAuthorizationControllerDelegate_Extensions
type PKPaymentAuthorizationControllerDelegate_Extensions = class
Inheritance
PKPaymentAuthorizationControllerDelegate_Extensions

Remarks

The extension methods for IPKPaymentAuthorizationControllerDelegate allow developers to treat instances of the interface as having all the optional methods of the original PKPaymentAuthorizationControllerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

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