DigetPayConfig

data class DigetPayConfig(val apiKey: String, val environment: Environment = Environment.SANDBOX, val enableLogging: Boolean = false)

Configuration the host app provides once via com.digetpay.sdk.DigetPay.initialize.

Parameters

apiKey

the merchant API key issued by DigetPay (sent as the x-api-key header).

environment

which backend to target. Defaults to Environment.SANDBOX.

enableLogging

when true, HTTP requests/responses are logged (debug builds only).

Constructors

Link copied to clipboard
constructor(apiKey: String, environment: Environment = Environment.SANDBOX, enableLogging: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard