PaywallState
data class PaywallState(val configuration: PaywallConfiguration? = null, val options: List<StorePurchaseOption> = emptyList(), val selectedOptionIdentifier: String? = null, val loading: Boolean = true, val busy: Boolean = false, val error: Throwable? = null, val notice: PaywallNotice? = null, val customerInfo: CustomerInfo? = null)
The products and progress state of a paywall.
Constructors
Link copied to clipboard
constructor(configuration: PaywallConfiguration? = null, options: List<StorePurchaseOption> = emptyList(), selectedOptionIdentifier: String? = null, loading: Boolean = true, busy: Boolean = false, error: Throwable? = null, notice: PaywallNotice? = null, customerInfo: CustomerInfo? = null)
Properties
Link copied to clipboard
The paywall configuration currently displayed.
Link copied to clipboard
The latest customer information.
Link copied to clipboard
The most recent purchase or restoration result to display.
Link copied to clipboard
The purchase options currently available from the store.
Link copied to clipboard
The identifier of the selected purchase option.