Package com.revenuecat.purchases

Types

BillingFeature
Link copied to clipboard
enum BillingFeature : Enum<BillingFeature>
Enum mapping billing feature types Allows for a common interface when calling feature eligibility methods from hybrid SDKs
EntitlementInfo
Link copied to clipboard
class EntitlementInfo(identifier: String, isActive: Boolean, willRenew: Boolean, periodType: PeriodType, latestPurchaseDate: Date, originalPurchaseDate: Date, expirationDate: Date?, store: Store, productIdentifier: String, isSandbox: Boolean, unsubscribeDetectedAt: Date?, billingIssueDetectedAt: Date?) : Parcelable
This object gives you access to all of the information about the status of a user's entitlements.
EntitlementInfos
Link copied to clipboard
class EntitlementInfos(all: Map<String, EntitlementInfo>) : Parcelable
This class contains all the entitlements associated to the user.
Offering
Link copied to clipboard
data class Offering(identifier: String, serverDescription: String, availablePackages: List<Package>) : Parcelable
An offering is a collection of Package available for the user to purchase.
Offerings
Link copied to clipboard
data class Offerings(current: Offering?, all: Map<String, Offering>) : Parcelable
This class contains all the offerings configured in RevenueCat dashboard.
Package
Link copied to clipboard
data class Package(identifier: String, packageType: PackageType, product: SkuDetails, offering: String) : Parcelable
Contains information about the product available for the user to purchase.
PackageType
Link copied to clipboard
enum PackageType : Enum<PackageType>
Enumeration of all possible Package types.
PeriodType
Link copied to clipboard
enum PeriodType : Enum<PeriodType>
Enum of supported period types for an entitlement.
ProductType
Link copied to clipboard
enum ProductType : Enum<ProductType>
PurchaserInfo
Link copied to clipboard
data class PurchaserInfo(entitlements: EntitlementInfos, purchasedNonSubscriptionSkus: Set<String>, allExpirationDatesByProduct: Map<String, Date?>, allPurchaseDatesByProduct: Map<String, Date?>, requestDate: Date, jsonObject: JSONObject, schemaVersion: Int, firstSeen: Date, originalAppUserId: String, managementURL: Uri?, originalPurchaseDate: Date?) : Parcelable
Class containing all information regarding the purchaser
PurchasesError
Link copied to clipboard
class PurchasesError(code: PurchasesErrorCode, underlyingErrorMessage: String?)
This class represents an error
PurchasesErrorCallback
Link copied to clipboard
typealias PurchasesErrorCallback = (PurchasesError) -> Unit
PurchasesErrorCode
Link copied to clipboard
enum PurchasesErrorCode : Enum<PurchasesErrorCode>
Store
Link copied to clipboard
enum Store : Enum<Store>
Enum of supported stores