StoreProductDiscount

App Store only. Information about a subscription offer that you configured in App Store Connect.

Properties

Link copied to clipboard
abstract val numberOfPeriods: Long

The number of periods the product discount is available. This is 1 for DiscountPaymentMode.PAY_UP_FRONT and DiscountPaymentMode.FREE_TRIAL, but can be more than 1 for DiscountPaymentMode.PAY_AS_YOU_GO.

Link copied to clipboard
abstract val offerIdentifier: String?

A string used to uniquely identify a discount offer for a product.

Link copied to clipboard

The payment mode for this product discount.

Link copied to clipboard
abstract val price: Price

The price of this product discount

Link copied to clipboard

The period for the product discount.

Link copied to clipboard
abstract val type: DiscountType

The type of product discount.