---
title: Product.SubscriptionOffer.PaymentMode
framework: storekit
role: symbol
role_heading: Structure
path: storekit/product/subscriptionoffer/paymentmode-swift.struct
---

# Product.SubscriptionOffer.PaymentMode

The payment modes for subscription offers that apply to a transaction.

## Declaration

```swift
struct PaymentMode
```

## Mentioned in

Testing win-back offers in Xcode

## Overview

Overview A payment mode describes how a subscription offer charges its discounted price — whether it charges one time, charges multiple times, or charges nothing because it’s a free trial.

## Topics

### Getting the payment modes

- [freeTrial](storekit/product/subscriptionoffer/paymentmode-swift.struct/freetrial.md)
- [payAsYouGo](storekit/product/subscriptionoffer/paymentmode-swift.struct/payasyougo.md)
- [payUpFront](storekit/product/subscriptionoffer/paymentmode-swift.struct/payupfront.md)

### Getting a localized description

- [localizedDescription](storekit/product/subscriptionoffer/paymentmode-swift.struct/localizeddescription.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting price information

- [displayPrice](storekit/product/subscriptionoffer/displayprice.md)
- [price](storekit/product/subscriptionoffer/price.md)
- [paymentMode](storekit/product/subscriptionoffer/paymentmode-swift.property.md)
