PurchaseOption

data class PurchaseOption(val identifier: String, val productIdentifier: String, val basePlanIdentifier: String? = null, val offerIdentifier: String? = null)

A combination of a product, base plan, and offer that customers choose on a paywall.

Constructors

Link copied to clipboard
constructor(identifier: String, productIdentifier: String, basePlanIdentifier: String? = null, offerIdentifier: String? = null)

Properties

Link copied to clipboard

The subscription base plan identifier. null for non-consumable products.

Link copied to clipboard

A stable public identifier.

Link copied to clipboard

The subscription offer identifier. When null, the base plan is purchased without an offer.

Link copied to clipboard

The Google Play product identifier.