PaywallProductContext

data class PaywallProductContext(val option: StorePurchaseOption, val selected: Boolean, val enabled: Boolean, val title: String, val description: String? = null, val isOwned: Boolean = false)

The store option and state passed to a custom product card.

Constructors

Link copied to clipboard
constructor(option: StorePurchaseOption, selected: Boolean, enabled: Boolean, title: String, description: String? = null, isOwned: Boolean = false)

Properties

Link copied to clipboard

The product description to display, if any.

Link copied to clipboard

Whether the card accepts selection.

Link copied to clipboard

Whether the customer already owns this option.

Link copied to clipboard

The store purchase option to display.

Link copied to clipboard

Whether the option is selected.

Link copied to clipboard

The product title to display.