---
title: paymentMode
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/skproductdiscount/paymentmode-swift.property
---

# paymentMode

The payment mode for this product discount.

## Declaration

```swift
var paymentMode: SKProductDiscount.PaymentMode { get }
```

## Discussion

Discussion The payment mode indicates how the product discount price is charged: One or more times, for SKProductDiscount.PaymentMode.payAsYouGo mode Once in advance, for SKProductDiscount.PaymentMode.payUpFront mode No initial charge, for SKProductDiscount.PaymentMode.freeTrial mode. Use the payment mode to display an accurate description of the product discount in your UI. For design guidance, see Human Interface Guidelines > In-App Purchase.

## See Also

### Getting Price and Payment Mode

- [price](storekit/skproductdiscount/price.md)
- [priceLocale](storekit/skproductdiscount/pricelocale.md)
- [SKProductDiscount.PaymentMode](storekit/skproductdiscount/paymentmode-swift.enum.md)
