9#import <Foundation/Foundation.h>
10#import <StoreKit/StoreKit.h>
12NS_ASSUME_NONNULL_BEGIN
27- (void)initWithDictionary:(nullable NSDictionary *)dictionary;
34- (void)updateProduct:(nullable SKProduct *)product;
A cube pack's identity, price and store product.
Definition CubePurchaseInfo.h:21
int getCubeNum()
How many cubes the pack contains.
Definition CubePurchaseInfo.m:45
nullable SKProduct * getProduct()
The attached StoreKit product.
Definition CubePurchaseInfo.m:40
nullable NSString * getPriceString()
The pack's price, already formatted for display.
Definition CubePurchaseInfo.m:35
nullable NSString * getDescription()
The pack's description line.
Definition CubePurchaseInfo.m:55
nullable NSString * getProductID()
The pack's product identifier.
Definition CubePurchaseInfo.m:30
nullable NSString * getName()
The pack's name (also the cube count as a string).
Definition CubePurchaseInfo.m:50