purchase(confirmIn:options:)
Processes a purchase for the product.
Declaration
func purchase(confirmIn window: NSWindow, options: Set<Product.PurchaseOption> = []) async throws -> Product.PurchaseResultParameters
- window:
The window to show purchase confirmation UI in proximity to.
- options:
A set of options to configure the purchase.
Return Value
The result of the purchase