net9.0-maccatalyst17.2
namespace PassKit
{
    [Protocol(Name = "PKPaymentAuthorizationControllerDelegate", WrapperType = typeof(PKPaymentAuthorizationControllerDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidFinish", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController) }, Selector = "paymentAuthorizationControllerDidFinish:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAuthorizePayment", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController) }, Selector = "paymentAuthorizationControllerWillAuthorizePayment:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAuthorizePayment", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V210) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKPayment), typeof(Action<PKPaymentAuthorizationStatus>) }, Selector = "paymentAuthorizationController:didAuthorizePayment:completion:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidAuthorizePayment", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V211) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKPayment), typeof(Action<PKPaymentAuthorizationResult>) }, Selector = "paymentAuthorizationController:didAuthorizePayment:handler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectShippingMethod", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity2V132) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKShippingMethod), typeof(Action<PKPaymentAuthorizationStatus, PKPaymentSummaryItem[]>) }, Selector = "paymentAuthorizationController:didSelectShippingMethod:completion:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectShippingMethod", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V212) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKPaymentMethod), typeof(Action<PKPaymentRequestPaymentMethodUpdate>) }, Selector = "paymentAuthorizationController:didSelectShippingMethod:handler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectShippingContact", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity3V18) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKContact), typeof(Action<PKPaymentAuthorizationStatus, PKShippingMethod[], PKPaymentSummaryItem[]>) }, Selector = "paymentAuthorizationController:didSelectShippingContact:completion:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectShippingContact", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V213) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKContact), typeof(Action<PKPaymentRequestShippingContactUpdate>) }, Selector = "paymentAuthorizationController:didSelectShippingContact:handler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectPaymentMethod", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V214) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKPaymentMethod), typeof(Action<PKPaymentSummaryItem[]>) }, Selector = "paymentAuthorizationController:didSelectPaymentMethod:completion:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSelectPaymentMethod", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V212) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(PKPaymentMethod), typeof(Action<PKPaymentRequestPaymentMethodUpdate>) }, Selector = "paymentAuthorizationController:didSelectPaymentMethod:handler:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidRequestMerchantSessionUpdate", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V215) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(Action<PKPaymentRequestMerchantSessionUpdate>) }, Selector = "paymentAuthorizationController:didRequestMerchantSessionUpdate:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidChangeCouponCode", ParameterBlockProxy = new[] { null, null, typeof(NIDActionArity1V216) }, ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController), typeof(string), typeof(Action<PKPaymentRequestCouponCodeUpdate>) }, Selector = "paymentAuthorizationController:didChangeCouponCode:handler:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetPresentationWindow", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(PKPaymentAuthorizationController) }, ReturnType = typeof(UIWindow), Selector = "presentationWindowForPaymentAuthorizationController:")]
    [SupportedOSPlatform("macos11.0")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    public interface IPKPaymentAuthorizationControllerDelegate : INativeObject, IDisposable
    {
        [BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
        [Export("presentationWindowForPaymentAuthorizationController:")]
        [Preserve(Conditional = true)]
        [SupportedOSPlatform("ios14.0")]
        [SupportedOSPlatform("maccatalyst14.0")]
        [SupportedOSPlatform("macos11.0")]
        UIWindow? GetPresentationWindow(PKPaymentAuthorizationController! controller);
    }
}
.NET 6.07.08.09.0
Information specific to net9.0
Platforms This API is only available when you target a specific platform:
Mac Catalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
macOS 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Information specific to net9.0-maccatalyst17.2
Assembly

Microsoft.MacCatalyst , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065

Referencing

The API is automatically referenced.

Platform Restrictions

This API is only supported on the following platforms:

  • iOS >= 14
  • Mac Catalyst >= 14
  • macOS >= 11
  • Built-in API
  • Package-provided API

05/13/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙