RCOffering
@interface RCOffering : NSObject
An offering is a collection of Packages (RCPackage
) available for the user to purchase. For more info see https://docs.revenuecat.com/docs/entitlements
-
Unique identifier defined in RevenueCat dashboard.
Declaration
Objective-C
@property (readonly) NSString *_Nonnull identifier;
-
Offering description defined in RevenueCat dashboard.
Declaration
Objective-C
@property (readonly) NSString *_Nonnull serverDescription;
-
Lifetime package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *lifetime;
-
Annual package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *annual;
-
Six month package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *sixMonth;
-
Three month package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *threeMonth;
-
Two month package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *twoMonth;
-
Monthly package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *monthly;
-
Weekly package type configured in the RevenueCat dashboard, if available.
Declaration
Objective-C
@property (readonly, nullable) RCPackage *weekly;
-
Retrieves a specific package by identifier, use this to access custom package types configured in the RevenueCat dashboard, e.g.
[offering packageWithIdentifier:@"custom_package_id"]
oroffering[@"custom_package_id"]
.Declaration
Objective-C
- (nullable RCPackage *)packageWithIdentifier:(nullable NSString *)identifier;