<!--
{
  "availability" : [
    "iOS: 11.2.0 - 18.0.0",
    "iPadOS: 11.2.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.13.2 - 15.0.0",
    "tvOS: 11.2.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKProductDiscount",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKProductDiscount"
  },
  "title" : "SKProductDiscount"
}
-->

# SKProductDiscount

The details of an introductory offer or a promotional offer for an auto-renewable subscription.

```
class SKProductDiscount
```

## Overview

You set up introductory and promotional offers in App Store Connect. [`SKProductDiscount`](/documentation/StoreKit/SKProductDiscount) contains the offer information as retrieved from the App Store.

For more information about setting up offers, see [Set an introductory offer for an auto-renewable subscription](https://help.apple.com/app-store-connect/#/deve1d49254f) and [Set up promotional offers for auto-renewable subscriptions](https://help.apple.com/app-store-connect/#/dev16dfca448).

## Topics

### Identifying the Discount

[`identifier`](/documentation/StoreKit/SKProductDiscount/identifier)

A string used to uniquely identify a discount offer for a product.

[`type`](/documentation/StoreKit/SKProductDiscount/type-swift.property)

The type of discount offer.

[`SKProductDiscount.Type`](/documentation/StoreKit/SKProductDiscount/Type-swift.enum)

Values representing the types of discount offers an app can present.

### Getting Price and Payment Mode

[`price`](/documentation/StoreKit/SKProductDiscount/price)

The discount price of the product in the local currency.

[`priceLocale`](/documentation/StoreKit/SKProductDiscount/priceLocale)

The locale used to format the discount price of the product.

[`paymentMode`](/documentation/StoreKit/SKProductDiscount/paymentMode-swift.property)

The payment mode for this product discount.

[`SKProductDiscount.PaymentMode`](/documentation/StoreKit/SKProductDiscount/PaymentMode-swift.enum)

Values representing the payment modes for a product discount.

### Getting the Discount Duration

[`numberOfPeriods`](/documentation/StoreKit/SKProductDiscount/numberOfPeriods)

An integer that indicates the number of periods the product discount is available.

[`subscriptionPeriod`](/documentation/StoreKit/SKProductDiscount/subscriptionPeriod)

An object that defines the period for the product discount.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)