Setup Parameters
data class SetupParameters @JvmOverloads constructor(environment: OloPayEnvironment, freshSetup: Boolean, googlePayConfig: Config?)
Content copied to clipboard
Parameters for setting up the Olo Pay API
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
Constructors
SetupParameters
Link copied to clipboard
fun SetupParameters(environment: OloPayEnvironment = OloPayEnvironment.Production, freshSetup: Boolean = false, googlePayConfig: Config? = null)
Content copied to clipboard
Creates a new SetupParameters instance
Properties
environment
Link copied to clipboard
freshSetup
Link copied to clipboard
googlePayConfig
Link copied to clipboard