TCGBPurchasableReceipt Class Reference
Inherits from | NSObject |
---|---|
Declared in | TCGBPurchasable.h |
Properties
itemSeq
itemSeq
@property (assign) long itemSeq
Discussion
Item Sequence which is the number presented in Toast Cloud IAP Console.
Declared In
TCGBPurchasable.h
price
item price
@property (assign) float price
Discussion
This value is from the market.
Warning: If there is no price data, it will be initialized to -1
Declared In
TCGBPurchasable.h
paymentSeq
paymentSeq
@property (nonatomic, strong) NSString *paymentSeq
Discussion
Payment Sequence is used to trace purchase transaction.
Declared In
TCGBPurchasable.h
purchaseToken
purchaseToken
@property (nonatomic, strong) NSString *purchaseToken
Discussion
Purchase Token is an unique string to validate purchasement.
Declared In
TCGBPurchasable.h
Allocation
+ purchasableReceiptWithResult:
Initialize the class with JSON Value.
+ (instancetype)purchasableReceiptWithResult:(NSDictionary *)result
Parameters
result |
result is a json formatted NSDictionary object. This is from ToastCloud IAP Server. |
---|
Return Value
Instance being initialized.
Declared In
TCGBPurchasable.h