PaywallData
@Serializable
Represents the data required to display a paywall using the RevenueCatUI
library. This data can be created and configured in the dashboard and then accessed from the Offering/paywall
.
See also
Constructors
Link copied to clipboard
constructor(templateName: String, config: PaywallData.Configuration, assetBaseURL: URL, revision: Int = 0, localization: Map<String, PaywallData.LocalizedConfiguration>, localizationByTier: Map<String, Map<String, PaywallData.LocalizedConfiguration>> = emptyMap(), zeroDecimalPlaceCountries: List<String> = emptyList(), defaultLocale: String? = null)
Types
Link copied to clipboard
@Serializable
Generic configuration for any paywall.
Link copied to clipboard
@Serializable
Defines the necessary localized information for a paywall.
Properties
Link copied to clipboard
The base remote URL where assets for this paywall are stored.
Link copied to clipboard
Generic configuration for any paywall.
Link copied to clipboard
The default locale to be used on a paywall if the preferred languages aren't found.
Link copied to clipboard
Returns the Locale and LocalizedConfiguration to be used based on the current locale list and the available locales for this paywall.
Link copied to clipboard
The type of template used to display this paywall.
Link copied to clipboard
Link copied to clipboard