Gamebase SDK for Unity  1.0.0
Toast Gamebase Platform
Gamebase.Purchase Class Reference

The Purchase class provides several APIs related to purchasing processes. More...

Collaboration diagram for Gamebase.Purchase:
Collaboration graph

Static Public Member Functions

static void RequestPurchase (long itemSeq, GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableReceipt > callback)
 This is the method to request purchasing item which identifier is itemSeq. More...
 
static void RequestItemListOfNotConsumed (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableReceipt >> callback)
 This method provides an item list that have non-consumed. More...
 
static void RequestRetryTransaction (GamebaseCallback.GamebaseDelegate< GamebaseResponse.Purchase.PurchasableRetryTransactionResult > callback)
 This method is for retrying failed purchasing proccesses. More...
 
static void RequestItemListPurchasable (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableItem >> callback)
 This is the primary method for obtaining ItemList which is registered at ToastCloud IAP Console and Apple Itunes Connect. More...
 
static void RequestItemListAtIAPConsole (GamebaseCallback.GamebaseDelegate< List< GamebaseResponse.Purchase.PurchasableItem >> callback)
 This is the method for obtaining ItemList which is registered at ToastCloud IAP Console. More...
 

Detailed Description

The Purchase class provides several APIs related to purchasing processes.

Before using these APIs, You should be logged in. Because every Purchase API need informations that are obtained from GamebaseServer. If you do not have been authenticated, you will get NOT_LOGGED_IN error.