Package com.revenuecat.purchases.models

Types

Link copied to clipboard
enum PurchaseState : Enum<PurchaseState>
Link copied to clipboard
enum PurchaseType : Enum<PurchaseType>
Link copied to clipboard
interface RawDataContainer<DataType>

A type which exposes its underlying raw data, for debugging purposes or for getting access to future data while using an older version of the SDK.

Link copied to clipboard
data class StoreProduct(    val sku: String,     val type: ProductType,     val price: String,     val priceAmountMicros: Long,     val priceCurrencyCode: String,     val originalPrice: String?,     val originalPriceAmountMicros: Long,     val title: String,     val description: String,     val subscriptionPeriod: String?,     val freeTrialPeriod: String?,     val introductoryPrice: String?,     val introductoryPriceAmountMicros: Long,     val introductoryPricePeriod: String?,     val introductoryPriceCycles: Int,     val iconUrl: String,     val originalJson: JSONObject) : Parcelable

Represents an in-app product's or subscription's listing details.

Link copied to clipboard
data class StoreTransaction(    val orderId: String?,     val skus: List<String>,     val type: ProductType,     val purchaseTime: Long,     val purchaseToken: String,     val purchaseState: PurchaseState,     val isAutoRenewing: Boolean?,     val signature: String?,     val originalJson: JSONObject,     val presentedOfferingIdentifier: String?,     val storeUserID: String?,     val purchaseType: PurchaseType,     val marketplace: String?) : Parcelable

Represents an in-app billing purchase.

Link copied to clipboard
data class Transaction(    val revenuecatId: String,     val productId: String,     val purchaseDate: Date) : Parcelable

Properties

Link copied to clipboard
val StoreProduct.skuDetails: SkuDetails

Returns the original SkuDetails that was used to build the StoreProduct object.