commonMain.com.revenuecat.purchases.kmp.models.PresentedOfferingContext.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of purchases-kmp-models Show documentation
Show all versions of purchases-kmp-models Show documentation
Mobile subscriptions in hours, not months.
package com.revenuecat.purchases.kmp.models
/**
* Contains data about the context in which an offering was presented.
* @property offeringIdentifier The identifier of the offering used to obtain this object.
* @property placementIdentifier The identifier of the placement used to obtain this object.
* @property targetingContext The targeting context used to obtain this object.
*/
public class PresentedOfferingContext(
public val offeringIdentifier: String,
public val placementIdentifier: String?,
public val targetingContext: PresentedOfferingTargetingContext?
)
/**
* The targeting context used to obtain a [PresentedOfferingContext].
* @property revision The revision of the targeting used to obtain this object.
* @property ruleId The rule id from the targeting used to obtain this object.
*/
public class PresentedOfferingTargetingContext(
public val revision: Int,
public val ruleId: String
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy