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(sku: String, type: ProductType, price: String, priceAmountMicros: Long, priceCurrencyCode: String, originalPrice: String?, originalPriceAmountMicros: Long, title: String, description: String, subscriptionPeriod: String?, freeTrialPeriod: String?, introductoryPrice: String?, introductoryPriceAmountMicros: Long, introductoryPricePeriod: String?, introductoryPriceCycles: Int, iconUrl: String, originalJson: JSONObject) : Parcelable

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

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

Represents an in-app billing purchase.

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

Properties

Link copied to clipboard
val StoreProduct.skuDetails: SkuDetails

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