Setup Parameters
fun SetupParameters(environment: OloPayEnvironment = OloPayEnvironment.Production, freshSetup: Boolean = false, googlePayConfig: Config? = null)
Content copied to clipboard
Creates a new SetupParameters instance
Parameters
fresh Setup
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
google Pay Config
Configuration parameters for Google Pay
environment
The environment the SDK will run in