<!--
{
  "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/PaymentMode-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@E@SKProductDiscountPaymentMode"
  },
  "title" : "SKProductDiscount.PaymentMode"
}
-->

# SKProductDiscount.PaymentMode

Values representing the payment modes for a product discount.

```
enum PaymentMode
```

## Overview

The payment mode indicates if the discount price is charged one time, multiple times, or if the discount is a free trial.

The payment mode may determine the wording you choose to phrase the offer in your app’s UI.

## Topics

### Discount Price Payment Modes

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

A constant that indicates a product discount that applies over a single billing period or multiple billing periods.

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

A constant that indicates that the system applies the product discount up front.

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

A constant that indicates that the payment mode is a free trial.

### Initializers

[`init?(rawValue: UInt)`](/documentation/StoreKit/SKProductDiscount/PaymentMode-swift.enum/init(rawValue:))

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)