Setup Parameters
data class SetupParameters @JvmOverloads constructor(val environment: OloPayEnvironment = OloPayEnvironment.Production, val freshSetup: Boolean = false, val googlePayConfig: Config? = null)
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
Link copied to clipboard
constructor(environment: OloPayEnvironment = OloPayEnvironment.Production, freshSetup: Boolean = false, googlePayConfig: Config? = null)
Creates a new SetupParameters instance
Properties
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Configuration parameters for Google Pay