InternalPurchaseController

class InternalPurchaseController(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, val context: Context) : PurchaseController(source)

Constructors

Link copied to clipboard
constructor(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, context: Context)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open suspend override fun purchase(activity: Activity, productDetails: ProductDetails, basePlanId: String?, offerId: String?): PurchaseResult

Called when the user initiates purchasing of a product.

Link copied to clipboard
open suspend override fun restorePurchases(): RestorationResult

Called when the user initiates a restore.