PKPaymentButton(PKPaymentButtonType.Buy, PKPaymentButtonStyle.Black)instance.In VS for Mac the enum PKPaymentButtonType are being highligted with a warning saying the enum were made unavailable in iOS.
Not sure if this is a iOS issue, maybe a VS for Mac issue.
No warnings since the annotations around this enum are only about watchOS.

Visual Studio Community 2019 for Mac
Version 8.1 (build 2742)
Installation UUID: fdb86b9e-27b3-4cb4-bbc3-990bfd7e4124
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.6.0.25 (d16-0 / 50f75273)Package version: 518010028
Xamarin.iOS
Version: 12.10.0.153 (Visual Studio Community)
Hash: 750a8798
Branch: d16-1-artifacts
Build date: 2019-04-30 15:17:54-0400
Hello!
Thank you for your feedback, I can reproduce this and also with other members like
we will investigate.
I would just like to comment that this whole "{X} was made unavailable for iOS" warning seems bugged. For example creating a UNMutableNotificationContent object with properties like Title, Body etc. like this:
var content = new UNMutableNotificationContent
{
Title = "Title",
Body = "You have 2 tasks for today.",
Sound = UNNotificationSound.Default
};
an error is thrown on each line, e.g. "'Title' was made unavailable for iOS", even though these properties are not signaled as unavailable (what does that even mean? - could not find anything on it anywhere) neither on the Apple developer documentation site, neither on Xamarin's documentation site.
Same thing happens on Xamarin.Mac

Most helpful comment
Hello!
Thank you for your feedback, I can reproduce this and also with other members like
we will investigate.