Package com.revenuecat.purchases.models

Types

Link copied to clipboard
class ProductDetails(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 PurchaseDetails(orderId: String?, skus: List<String>, type: ProductType, purchaseTime: Long, purchaseToken: String, purchaseState: RevenueCatPurchaseState, isAutoRenewing: Boolean?, signature: String?, originalJson: JSONObject, presentedOfferingIdentifier: String?, storeUserID: String?, purchaseType: PurchaseType) : Parcelable

Represents an in-app billing purchase.

Link copied to clipboard
enum PurchaseType : Enum<PurchaseType>
Link copied to clipboard
enum RevenueCatPurchaseState : Enum<RevenueCatPurchaseState>
Link copied to clipboard
data class Transaction(revenuecatId: String, productId: String, purchaseDate: Date) : Parcelable

Properties

Link copied to clipboard
val ProductDetails.skuDetails: SkuDetails

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