Internal Purchase Controller
class InternalPurchaseController(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, val context: Context) : PurchaseController(source)
Constructors
Link copied to clipboard
constructor(kotlinPurchaseController: PurchaseController?, javaPurchaseController: PurchaseControllerJava?, context: Context)
Functions
Link copied to clipboard
open suspend override fun purchase(activity: Activity, productDetails: ProductDetails, basePlanId: String?, offerId: String?): PurchaseResult
open suspend override fun purchase(activity: Activity, product: StoreProduct, basePlanId: String?, offerId: String?): PurchaseResult
Called when the user initiates purchasing of a product.
Link copied to clipboard
Called when the user initiates a restore.