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
marketItemId
marketItemId
@property (nonatomic, strong) NSString *marketItemId
Discussion
ItemID which is registered at market(itunesconnect).
Declared In
TCGBPurchasable.h
gamebaseProductId
gamebaseProductId
@property (nonatomic, strong) NSString *gamebaseProductId
Discussion
productID which is registered at 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
productType
productType
@property (nonatomic, strong) NSString *productType
Discussion
This string value represent type of product. (CONSUMABLE, UNKNOWN, AUTO_RENEWABLE, CONSUMABLE_AUTO_RENEWABLE)
Declared In
TCGBPurchasable.h
originalPaymentId
originalPaymentId
@property (nonatomic, strong) NSString *originalPaymentId
Declared In
TCGBPurchasable.h
purchaseTime
purchaseTime
@property (nonatomic, assign) long purchaseTime
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