-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Offering implements Parcelable
An offering is a collection of Package available for the user to purchase. For more info see https://docs.revenuecat.com/docs/entitlements
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>lifetimeprivate final <ERROR CLASS>annualprivate final <ERROR CLASS>sixMonthprivate final <ERROR CLASS>threeMonthprivate final <ERROR CLASS>twoMonthprivate final <ERROR CLASS>monthlyprivate final <ERROR CLASS>weeklyprivate final Stringidentifierprivate final StringserverDescriptionprivate final List<Package>availablePackages
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getLifetime()Lifetime package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getAnnual()Annual package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getSixMonth()Six month package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getThreeMonth()Three month package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getTwoMonth()Two month package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getMonthly()Monthly package type configured in the RevenueCat dashboard, if available. final <ERROR CLASS>getWeekly()Weekly package type configured in the RevenueCat dashboard, if available. final StringgetIdentifier()final StringgetServerDescription()final List<Package>getAvailablePackages()final <ERROR CLASS>get(String s)Retrieves a specific package by identifier, use this to access custom package types configured in the RevenueCat dashboard. final <ERROR CLASS>getPackage(String identifier)Retrieves a specific package by identifier, use this to access custom package types configured in the RevenueCat dashboard -
-
Method Detail
-
getLifetime
final <ERROR CLASS> getLifetime()
Lifetime package type configured in the RevenueCat dashboard, if available.
-
getAnnual
final <ERROR CLASS> getAnnual()
Annual package type configured in the RevenueCat dashboard, if available.
-
getSixMonth
final <ERROR CLASS> getSixMonth()
Six month package type configured in the RevenueCat dashboard, if available.
-
getThreeMonth
final <ERROR CLASS> getThreeMonth()
Three month package type configured in the RevenueCat dashboard, if available.
-
getTwoMonth
final <ERROR CLASS> getTwoMonth()
Two month package type configured in the RevenueCat dashboard, if available.
-
getMonthly
final <ERROR CLASS> getMonthly()
Monthly package type configured in the RevenueCat dashboard, if available.
-
getWeekly
final <ERROR CLASS> getWeekly()
Weekly package type configured in the RevenueCat dashboard, if available.
-
getIdentifier
final String getIdentifier()
-
getServerDescription
final String getServerDescription()
-
getAvailablePackages
final List<Package> getAvailablePackages()
-
get
final <ERROR CLASS> get(String s)
Retrieves a specific package by identifier, use this to access custom package types configured in the RevenueCat dashboard. Equivalent to calling
getPackage.
-
getPackage
final <ERROR CLASS> getPackage(String identifier)
Retrieves a specific package by identifier, use this to access custom package types configured in the RevenueCat dashboard
-
-
-
-