(js)
|
abstract fun addListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase |
(js)
|
abstract fun canMakePayments(): Boolean |
(js)
|
abstract fun getReceiptURL(): String |
(js)
|
abstract fun on(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase |
(js)
|
abstract fun once(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase |
(js)
|
abstract fun purchaseProduct(productID: String, quantity: Number? = definedExternally, callback: ((isProductValid: Boolean) -> Unit)? = definedExternally): Unit |
(js)
|
abstract fun removeListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase |