JubeatPlus 3.9.11
Loading...
Searching...
No Matches
CubePurchaseInfo.h
Go to the documentation of this file.
1
8
9#import <Foundation/Foundation.h>
10#import <StoreKit/StoreKit.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
20@interface CubePurchaseInfo : NSObject
21
27- (void)initWithDictionary:(nullable NSDictionary *)dictionary;
28
34- (void)updateProduct:(nullable SKProduct *)product;
35
41- (nullable NSString *)getProductID;
42
48- (nullable NSString *)getPriceString;
49
55- (nullable SKProduct *)getProduct;
56
63- (int)getCubeNum;
64
70- (nullable NSString *)getName;
71
77- (nullable NSString *)getDescription;
78
79@end
80
81NS_ASSUME_NONNULL_END
82
83// code: language=Objective-C
84// kate: hl Objective-C;
85// vim: set ft=objc :
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