Gamebase SDK for Unity
2.2.0
Toast Gamebase Platform
|
The Purchase class provides several APIs related to purchasing processes. More...
Static Public Member Functions | |
static void | RequestPurchase (long itemSeq, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableReceipt > callback) |
Call following API of an item to purchase by using itemSeq to send a purchase request. More... | |
static void | RequestItemListOfNotConsumed (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableReceipt >> callback) |
Request for a list of non-consumed items, which have not been normally consumed (delivered, or provided) after purchase. More... | |
static void | RequestRetryTransaction (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableRetryTransactionResult > callback) |
In case a purchase is not normally completed after a successful purchase at a store due to failure of authentication of TOAST IAP server, try to reprocess by using API. More... | |
static void | RequestItemListPurchasable (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableItem >> callback) |
Request a item list which is purchasable. More... | |
static void | RequestItemListAtIAPConsole (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableItem >> callback) |
Request a item list which is purchasable. More... | |
static void | SetPromotionIAPHandler (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableReceipt > callback) |
If you want to deliver some items that have been purchased to user, you should implement this handler. More... | |
static void | SetStoreCode (string storeCode) |
Set the store code of the current app. More... | |
static string | GetStoreCode () |
Gets the store code of the current app. More... | |