purchaseWith

fun Purchases.purchaseWith(    purchaseParams: PurchaseParams,     onError: (error: PurchasesError, userCancelled: Boolean) -> Unit = ON_PURCHASE_ERROR_STUB,     onSuccess: (purchase: StoreTransaction?, customerInfo: CustomerInfo) -> Unit)

Sources

Link copied to clipboard