|
JubeatPlus 3.9.11
|
A cube pack's identity, price and store product. More...
#include <CubePurchaseInfo.h>


Instance Methods | |
| (void) | - initWithDictionary: |
| Fills the pack from a store dictionary. | |
| (void) | - updateProduct: |
| Attaches the resolved StoreKit product. | |
| (nullable NSString *) | - getProductID |
| The pack's product identifier. | |
| (nullable NSString *) | - getPriceString |
| The pack's price, already formatted for display. | |
| (nullable SKProduct *) | - getProduct |
| The attached StoreKit product. | |
| (int) | - getCubeNum |
| How many cubes the pack contains. | |
| (nullable NSString *) | - getName |
| The pack's name (also the cube count as a string). | |
| (nullable NSString *) | - getDescription |
| The pack's description line. | |
A cube pack's identity, price and store product.
Backed by four ivars: purchaseID, productInfo (an SKProduct), itemName and description.
| - (int) getCubeNum |
How many cubes the pack contains.
-[itemName intValue], so the count is carried as text and parsed on every call.
| - (NSString *) getDescription |
The pack's description line.
| - (NSString *) getName |
The pack's name (also the cube count as a string).
| - (NSString *) getPriceString |
The pack's price, already formatted for display.
DECLARED ONLY.
| - (SKProduct *) getProduct |
The attached StoreKit product.
| - (NSString *) getProductID |
The pack's product identifier.
| - (void) initWithDictionary: | (nullable NSDictionary *) | dictionary |
Fills the pack from a store dictionary.
| dictionary | The store dictionary (carries item_id , name , and description ). |
| - (void) updateProduct: | (nullable SKProduct *) | product |
Attaches the resolved StoreKit product.
| product | The product. |