setup
open override fun setup(context: Context, environment: OloPayEnvironment, callback: InitCompleteCallback)
Call this method prior to using OloPayAPI or GooglePayLauncher
Important:
This method is provided mainly as convenience for Java developers. Kotlin developers should generally use the suspend version of this method instead
Parameters
context
The application context
environment
The environment to use when setting up the SDK
callback
A callback to know when initialization is complete
Call this method prior to using OloPayAPI or GooglePayLauncher
Parameters
context
The application context
environment
The environment to use when setting up the SDK