PKPaymentAuthorizationControllerDelegate_Extensions Klasse

Definition

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

public static class PKPaymentAuthorizationControllerDelegate_Extensions
type PKPaymentAuthorizationControllerDelegate_Extensions = class
Vererbung
PKPaymentAuthorizationControllerDelegate_Extensions

Hinweise

Mit den Erweiterungsmethoden für IPKPaymentAuthorizationControllerDelegate die Schnittstelle können Entwickler Instanzen der Schnittstelle als alle optionalen Methoden des ursprünglichen PKPaymentAuthorizationControllerDelegate-Protokolls behandeln. Da die Schnittstelle nur die erforderlichen Member enthält, können Entwickler mit diesen Erweiterungsmethoden die optionalen Member des Protokolls aufrufen.

Methoden

Name Beschreibung
DidAuthorizePayment(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPayment, Action<PKPaymentAuthorizationResult>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

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

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen die Überladung "DidAuthorizePayment" mit dem Parameter "Action<PKPaymentAuthorizationResult>" verwenden.

DidChangeCouponCode(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, String, Action<PKPaymentRequestCouponCodeUpdate>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

DidRequestMerchantSessionUpdate(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, Action<PKPaymentRequestMerchantSessionUpdate>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

DidSelectPaymentMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

DidSelectPaymentMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

Methode, die aufgerufen wird, wenn der Benutzer eine Zahlungsmethode auswählt.

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

Die Methode, die aufgerufen wird, wenn ein Benutzer einen Kontakt auswählt, an den sie versendet werden soll.

DidSelectShippingContact(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

DidSelectShippingMethod(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

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

Methode, die aufgerufen wird, wenn ein Benutzer eine neue Versandmethode auswählt.

GetPresentationWindow(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController)

Erweiterungsmethoden auf die IPKPaymentAuthorizationControllerDelegate Schnittstelle, um alle Methoden aus dem PKPaymentAuthorizationControllerDelegate-Protokoll zu unterstützen.

WillAuthorizePayment(IPKPaymentAuthorizationControllerDelegate, PKPaymentAuthorizationController)

Methode, die aufgerufen wird, wenn der Benutzer eine Zahlungsanforderung autorisiert.

Gilt für: