|
|
fun close(): Unit |
|
|
fun createAlias(appUserID: String, newAppUserID: String, onSuccessHandler: () -> Unit, onErrorHandler: (PurchasesError) -> Unit): Unit |
|
|
fun getOfferings(appUserID: String, appInBackground: Boolean, onSuccess: (JSONObject) -> Unit, onError: (PurchasesError) -> Unit): Unit |
|
|
fun getPurchaserInfo(appUserID: String, appInBackground: Boolean, onSuccess: (PurchaserInfo) -> Unit, onError: (PurchasesError) -> Unit): Unit |
|
|
fun logIn(appUserID: String, newAppUserID: String, onSuccessHandler: (PurchaserInfo, Boolean) -> Unit, onErrorHandler: (PurchasesError) -> Unit): Unit |
|
|
fun performRequest(path: String, body: Map<String, Any?>?, onError: (PurchasesError) -> Unit, onCompletedSuccessfully: () -> Unit, onCompletedWithErrors: (PurchasesError, Int, JSONObject) -> Unit): Unit |
|
|
fun postAttributionData(appUserID: String, network: AttributionNetwork, data: JSONObject, onSuccessHandler: () -> Unit): Unit |
|
|
fun postReceiptData(purchaseToken: String, appUserID: String, isRestore: Boolean, observerMode: Boolean, subscriberAttributes: Map<String, Map<String, Any?>>, productInfo: ProductInfo, onSuccess: PostReceiptDataSuccessCallback, onError: PostReceiptDataErrorCallback): Unit |