Readonly
annualAnnual package type configured in the RevenueCat dashboard, if available.
Readonly
availableArray of Package
objects available for purchase.
Readonly
identifierUnique identifier defined in RevenueCat dashboard.
Readonly
lifetimeLifetime package type configured in the RevenueCat dashboard, if available.
Readonly
metadataOffering metadata defined in RevenueCat dashboard. To access values, you need to check the type beforehand. For example: const my_unknown_value: unknown = offering.metadata['my_key']; const my_string_value: string | undefined = typeof(my_unknown_value) === 'string' ? my_unknown_value : undefined;
Readonly
monthlyMonthly package type configured in the RevenueCat dashboard, if available.
Readonly
serverOffering description defined in RevenueCat dashboard.
Readonly
sixSix month package type configured in the RevenueCat dashboard, if available.
Readonly
threeThree month package type configured in the RevenueCat dashboard, if available.
Readonly
twoTwo month package type configured in the RevenueCat dashboard, if available.
Readonly
weeklyWeekly package type configured in the RevenueCat dashboard, if available.
Generated using TypeDoc
An offering is a collection of Packages (
PurchasesPackage
) available for the user to purchase. For more info see https://docs.revenuecat.com/docs/entitlements