Package-level declarations
Types
Enum mapping billing feature types. Currently only used to check for feature availability in Android's, Play store.
Specifies behavior for a caching API.
Class containing all information regarding the customer.
Only use a Dangerous Setting if suggested by RevenueCat support team.
App Store only. The payment mode for a StoreProductDiscount indicates how the product discount price is charged.
App Store only. Denotes the type of a StoreProductDiscount.
This object gives you access to all of the information about the status of a user's entitlements.
This class contains all the entitlements associated to the user.
Verification strictness levels for EntitlementInfo.
Enum of possible replacement modes to be passed to a Play Store purchase. Ignored for Amazon and App Store purchases.
Type containing information of installment subscriptions. Currently only supported in Google Play.
Play Store only. Payment mode for offer pricing phases
Enum of supported ownership types for an entitlement.
Contains information about the product available for the user to purchase. For more info see /docs/entitlements.
Enumeration of all possible Package types.
Represents subscription or PricingPhase billing period.
Enum of supported period types for an entitlement.
The unit of time a Period is denoted in.
Contains data about the context in which an offering was presented.
The targeting context used to obtain a PresentedOfferingContext.
Play Store only. Encapsulates how a user pays for a subscription at a given point in time.
The category of a product, whether a subscription or a one-time purchase.
Possible product types.
App Store only. Represents a StoreProductDiscount that has been validated and is ready to be used for a purchase.
Modes for completing the purchase process.
This class represents an error
A predefined error type.
An exception wrapping a PurchasesError.
An exception indicating an error occurred during a transaction. Extends PurchasesException by adding a userCancelled property.
Data connected to a purchase.
Recurrence mode for a pricing phase. Google Play Store only.
Contains information about the replacement mode to use in case of a product upgrade. Use the platform specific subclasses in each implementation. Currently only used for Play store upgrades/downgrades
Defines which version of StoreKit may be used.
Enum mapping in-app message types.
Represents an in-app product's or subscription's listing details.
App Store only. Information about a subscription offer that you configured in App Store Connect.
Represents an in-app billing purchase.
Play Store only. A purchase-able entity for a subscription product.
A collection of SubscriptionOptions.
Representation of a transaction.
The result of the verification process.
Properties
The subscription period of fullPricePhase
(after free and intro trials).
The free trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros
is 0. There can be a freeTrialPhase
and an introductoryPhase
in the same SubscriptionOption.
The full price PricingPhase of the subscription. Looks for the last price phase of the SubscriptionOption.
The intro trial PricingPhase of the subscription. Looks for the first pricing phase of the SubscriptionOption where amountMicros
is greater than 0. There can be a freeTrialPhase
and an introductoryPhase
in the same SubscriptionOption.
True if this SubscriptionOption represents a Google subscription base plan (rather than an offer). Not applicable for Amazon subscriptions.
True if the subscription is pre-paid. Not applicable for Amazon subscriptions.