Instance Property

discounts

An array of discount offers available for the product.

Declaration

var discounts: [SKProductDiscount] { get }

Discussion

The discounts array contains all the offers that you set up in App Store Connect that can be made available to your user for this product (productIdentifier). It is up to you and your app to decide which offer to present.

See Also

Getting Pricing Information

var price: NSDecimalNumber

The cost of the product in the local currency.

var priceLocale: Locale

The locale used to format the price of the product.

var introductoryPrice: SKProductDiscount?

The object containing introductory price information for the product.