PaywallConfiguration
data class PaywallConfiguration(val catalog: PurchaseCatalog, val defaultPurchaseOptionIdentifier: String? = null, val productDisplayContents: List<PaywallProductDisplayContent> = emptyList(), @StringRes val purchaseNoticeResource: Int? = null, val purchaseNoticeText: String? = null, val privacyPolicyUrl: String? = null, val termsOfServiceUrl: String? = null, val purchaseOptionDisplayContents: List<PaywallPurchaseOptionDisplayContent> = emptyList())
A paywall configuration defined in the app or resolved from a remote response.
Constructors
Link copied to clipboard
constructor(catalog: PurchaseCatalog, defaultPurchaseOptionIdentifier: String? = null, productDisplayContents: List<PaywallProductDisplayContent> = emptyList(), @StringRes purchaseNoticeResource: Int? = null, purchaseNoticeText: String? = null, privacyPolicyUrl: String? = null, termsOfServiceUrl: String? = null, purchaseOptionDisplayContents: List<PaywallPurchaseOptionDisplayContent> = emptyList())
Properties
Link copied to clipboard
The purchase options to display and their order.
Link copied to clipboard
The purchase option selected initially.
Link copied to clipboard
The privacy policy URL.
Link copied to clipboard
Optional display text for each product.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The terms of service URL.