---
title: SKPaymentDiscount
framework: storekit
role: symbol
role_heading: Class
path: storekit/skpaymentdiscount
---

# SKPaymentDiscount

The signed discount to apply to a payment.

## Declaration

```swift
class SKPaymentDiscount
```

## Mentioned in

Implementing promotional offers in your app Generating a signature for promotional offers

## Overview

Overview The SKPaymentDiscount contains the details of a promotional offer discount that you want to apply to a SKMutablePayment. Include the signature that you generated in this object. For guidance, see Generating a signature for promotional offers. The App Store uses this signature and the parameters to validate the promotional offer. Keep in mind that the signature must correspond to the parameters in the payment for a transaction to be successful.

## Topics

### Initializing a Payment Discount

- [init(identifier:keyIdentifier:nonce:signature:timestamp:)](storekit/skpaymentdiscount/init(identifier:keyidentifier:nonce:signature:timestamp:).md)

### Identifying the Discount

- [identifier](storekit/skpaymentdiscount/identifier.md)
- [keyIdentifier](storekit/skpaymentdiscount/keyidentifier.md)

### Validating the Discount

- [nonce](storekit/skpaymentdiscount/nonce.md)
- [signature](storekit/skpaymentdiscount/signature.md)
- [timestamp](storekit/skpaymentdiscount/timestamp.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting Discount Details

- [paymentDiscount](storekit/skpayment/paymentdiscount.md)
