Skip to content

FrakConfig()

fun FrakConfig(merchantId: String, configure: FrakConfig.Builder.() -> Unit): FrakConfig

Kotlin sugar over FrakConfig.Builder, for the merchant-id form.

fun FrakConfig(merchantId: String): FrakConfig

Merchant id only: the shortest working config.

fun FrakConfig(configure: FrakConfig.Builder.() -> Unit): FrakConfig

Kotlin sugar over FrakConfig.Builder for the no-merchant-id form.