Sdílet prostřednictvím


PKPaymentAuthorizationViewControllerDelegate_Extensions Class

Definition

Extension methods to the IPKPaymentAuthorizationViewControllerDelegate interface to support all the methods from the PKPaymentAuthorizationViewControllerDelegate protocol.

public static class PKPaymentAuthorizationViewControllerDelegate_Extensions
type PKPaymentAuthorizationViewControllerDelegate_Extensions = class
Inheritance
PKPaymentAuthorizationViewControllerDelegate_Extensions

Remarks

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

Methods

Name Description
DidAuthorizePayment(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPayment, Action<PKPaymentAuthorizationStatus>)

Developers should not use this deprecated method. Developers should use 'DidAuthorizePayment2' instead.

DidAuthorizePayment2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPayment, Action<PKPaymentAuthorizationResult>)
DidChangeCouponCode(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, String, Action<PKPaymentRequestCouponCodeUpdate>)
DidRequestMerchantSessionUpdate(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, Action<PKPaymentRequestMerchantSessionUpdate>)
DidSelectPaymentMethod(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Called after the user has selected a payment method.

DidSelectPaymentMethod2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)
DidSelectShippingAddress(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, ABRecord, PKPaymentShippingAddressSelected)

Indicates the user selected a shipping address.

DidSelectShippingContact(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKContact, PKPaymentShippingAddressSelected)

Called after the user has selected a shipping contact.

DidSelectShippingContact2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)
DidSelectShippingMethod(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKShippingMethod, PKPaymentShippingMethodSelected)

Indicates the user selected a shippingmethod.

DidSelectShippingMethod2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKShippingMethod, Action<PKPaymentRequestShippingMethodUpdate>)
WillAuthorizePayment(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController)

Indicates that payment authorization will shortly begin.

Applies to