SetupParameters

fun SetupParameters(environment: OloPayEnvironment = OloPayEnvironment.Production, freshSetup: Boolean = false, googlePayConfig: Config? = null)

Creates a new SetupParameters instance

Parameters

freshSetup

If true, this will be treated as a fresh setup of the API and cached values will be overwritten. This is especially useful for testing purposes when switching between Dev and Production environments. This should generally be false for production builds

googlePayConfig

Configuration parameters for Google Pay

environment

The environment the SDK will run in