---
title: payAsYouGo
framework: storekit
role: symbol
role_heading: Type Property
path: storekit/product/subscriptionoffer/paymentmode-swift.struct/payasyougo
---

# payAsYouGo

A payment mode of a product discount that applies over a single billing period or multiple billing periods.

## Declaration

```swift
static let payAsYouGo: Product.SubscriptionOffer.PaymentMode
```

## Discussion

Discussion With a Pay As You Go payment mode, subscribers pay a discounted price for each billing period for the duration of the discount.

## See Also

### Getting the payment modes

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