共用方式為


PKPaymentAuthorizationViewControllerDelegate_Extensions 類別

定義

介面的 IPKPaymentAuthorizationViewControllerDelegate 擴充方法,以支援通訊 PKPaymentAuthorizationViewControllerDelegate 協定中的所有方法。

public static class PKPaymentAuthorizationViewControllerDelegate_Extensions
type PKPaymentAuthorizationViewControllerDelegate_Extensions = class
繼承
PKPaymentAuthorizationViewControllerDelegate_Extensions

備註

IPKPaymentAuthorizationViewControllerDelegate 擴充方法可讓開發人員將介面的實例視為具有原始 PKPaymentAuthorizationViewControllerDelegate 通訊協定的所有選擇性方法。 由於介面只包含必要的成員,這些擴充方法可讓開發人員呼叫通訊協定的選擇性成員。

方法

DidAuthorizePayment2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPayment, Action<PKPaymentAuthorizationResult>)

介面的 IPKPaymentAuthorizationViewControllerDelegate 擴充方法,以支援通訊 PKPaymentAuthorizationViewControllerDelegate 協定中的所有方法。

DidSelectPaymentMethod(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPaymentMethod, Action<PKPaymentSummaryItem[]>)

開發人員不應該使用此已被取代的方法。 開發人員應該改用 'DidSelectPaymentMethod2'。

DidSelectPaymentMethod2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKPaymentMethod, Action<PKPaymentRequestPaymentMethodUpdate>)

介面的 IPKPaymentAuthorizationViewControllerDelegate 擴充方法,以支援通訊 PKPaymentAuthorizationViewControllerDelegate 協定中的所有方法。

DidSelectShippingAddress(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, ABRecord, PKPaymentShippingAddressSelected)

指出使用者已選取出貨位址。

DidSelectShippingContact(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKContact, PKPaymentShippingAddressSelected)

在使用者選取出貨連絡人之後呼叫。

DidSelectShippingContact2(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKContact, Action<PKPaymentRequestShippingContactUpdate>)

介面的 IPKPaymentAuthorizationViewControllerDelegate 擴充方法,以支援通訊 PKPaymentAuthorizationViewControllerDelegate 協定中的所有方法。

DidSelectShippingMethod(IPKPaymentAuthorizationViewControllerDelegate, PKPaymentAuthorizationViewController, PKShippingMethod, PKPaymentShippingMethodSelected)

指出使用者已選取出貨方法。

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

介面的 IPKPaymentAuthorizationViewControllerDelegate 擴充方法,以支援通訊 PKPaymentAuthorizationViewControllerDelegate 協定中的所有方法。

適用於