Google Billing Wrapper
constructor(context: Context, ioScope: IOScope, appLifecycleObserver: AppLifecycleObserver, factory: GoogleBillingWrapper.Factory, createBillingClient: (PurchasesUpdatedListener) -> BillingClient = {
BillingClient
.newBuilder(context)
.setListener(it)
.enablePendingPurchases(
PendingPurchasesParams.newBuilder().enableOneTimeProducts().build(),
).build()
})(source)