PaywallInfo

@Serializable
data class PaywallInfo(val databaseId: String, val identifier: String, val name: String, val url: PaywallURL, val experiment: Experiment?, val products: List<ProductItem>, val productIds: List<String>, val presentedByEventWithName: String?, val presentedByEventWithId: String?, val presentedByEventAt: String?, val presentedBy: String, val presentationSourceType: String?, val responseLoadStartTime: String?, val responseLoadCompleteTime: String?, val responseLoadFailTime: String?, val responseLoadDuration: Double?, val webViewLoadStartTime: String?, val webViewLoadCompleteTime: String?, val webViewLoadFailTime: String?, val webViewLoadDuration: Double?, val productsLoadStartTime: String?, val productsLoadCompleteTime: String?, val productsLoadFailTime: String?, val shimmerLoadStartTime: String?, val shimmerLoadCompleteTime: String?, val productsLoadDuration: Double?, val paywalljsVersion: String?, val isFreeTrialAvailable: Boolean, val featureGatingBehavior: FeatureGatingBehavior, val closeReason: PaywallCloseReason, val localNotifications: List<LocalNotification>, val computedPropertyRequests: List<ComputedPropertyRequest>, val surveys: List<Survey>, val presentation: PaywallPresentationInfo, val buildId: String, val cacheKey: String, val isScrollEnabled: Boolean, val state: Map<String, Any> = emptyMap())(source)

Constructors

Link copied to clipboard
constructor(databaseId: String, identifier: String, name: String, url: PaywallURL, experiment: Experiment?, products: List<ProductItem>, productIds: List<String>, presentedByEventWithName: String?, presentedByEventWithId: String?, presentedByEventAt: String?, presentedBy: String, presentationSourceType: String?, responseLoadStartTime: String?, responseLoadCompleteTime: String?, responseLoadFailTime: String?, responseLoadDuration: Double?, webViewLoadStartTime: String?, webViewLoadCompleteTime: String?, webViewLoadFailTime: String?, webViewLoadDuration: Double?, productsLoadStartTime: String?, productsLoadCompleteTime: String?, productsLoadFailTime: String?, shimmerLoadStartTime: String?, shimmerLoadCompleteTime: String?, productsLoadDuration: Double?, paywalljsVersion: String?, isFreeTrialAvailable: Boolean, featureGatingBehavior: FeatureGatingBehavior, closeReason: PaywallCloseReason, localNotifications: List<LocalNotification>, computedPropertyRequests: List<ComputedPropertyRequest>, surveys: List<Survey>, presentation: PaywallPresentationInfo, buildId: String, cacheKey: String, isScrollEnabled: Boolean, state: Map<String, Any> = emptyMap())
constructor(databaseId: String, identifier: String, name: String, url: PaywallURL, products: List<ProductItem>, productIds: List<String>, eventData: EventData?, responseLoadStartTime: Date?, responseLoadCompleteTime: Date?, responseLoadFailTime: Date?, webViewLoadStartTime: Date?, webViewLoadCompleteTime: Date?, webViewLoadFailTime: Date?, productsLoadStartTime: Date?, productsLoadFailTime: Date?, productsLoadCompleteTime: Date?, shimmerLoadStartTime: Date?, shimmerLoadCompleteTime: Date?, experiment: Experiment? = null, paywalljsVersion: String? = null, isFreeTrialAvailable: Boolean, presentationSourceType: String? = null, featureGatingBehavior: FeatureGatingBehavior = FeatureGatingBehavior.NonGated, localNotifications: List<LocalNotification>, computedPropertyRequests: List<ComputedPropertyRequest>, closeReason: PaywallCloseReason, surveys: List<Survey>, presentation: PaywallPresentationInfo, buildId: String, cacheKey: String, isScrollEnabled: Boolean, state: Map<String, Any> = emptyMap())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable(with = AnyMapSerializer::class)
val state: Map<String, Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun eventParams(product: StoreProductType? = null, otherParams: Map<String, Any?>? = null): Map<String, Any>