Purchase

class Purchase

This class provides wrapping of function execution related to payment.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getStoreCode(): String
Gets the store code of the current app.
Link copied to clipboard
Request a list of payment products that are currently subscribed.
Link copied to clipboard
Request a item list which is purchasable.
Link copied to clipboard
Request a Item List which is not consumed.
Link copied to clipboard
Request a item list which is purchasable.
Link copied to clipboard
open fun requestPurchase(@NonNull activity: Activity, @NonNull gamebaseProductId: String, @NonNull callback: GamebaseDataCallback<PurchasableReceipt>)
open fun requestPurchase(@NonNull activity: Activity, @NonNull gamebaseProductId: String, @NonNull payload: String, @NonNull callback: GamebaseDataCallback<PurchasableReceipt>)
Request Purchasing Item registered in the console with the gamebaseProductId.
Request Purchasing Item that has itemSeq.
Link copied to clipboard
Link copied to clipboard
Request a list of purchased subscription status.
Link copied to clipboard
open fun setStoreCode(storeCode: String)
Set the store code of the current app.