net9.0-macos10.15
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(NIDActionArity1V87) }, 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(NIDActionArity1V88) }, 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(NIDActionArity1V89) }, 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(NIDActionArity1V88) }, 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(NIDActionArity1V90) }, 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(NIDActionArity1V91) }, 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(NSWindow), 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")]
        NSWindow? GetPresentationWindow(PKPaymentAuthorizationController! controller);
    }
}
Assembly Microsoft.macOS , Version=14.0.0.0, PublicKeyToken=84e04ff9cfb79065
.NET 6.07.08.09.0
Platform Specific Frameworks
net9.0-maccatalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
net9.0-macos 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2
Platform Restrictions

For the selected framework this API is only supported on the following OS platforms:

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

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