setup

open override fun setup(context: Context, parameters: SetupParameters?, callback: InitCompleteCallback)

Call this method prior to using OloPayAPI or GooglePayContext

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

parameters

The parameters used for setting up the Olo Pay SDK

callback

A callback to know when initialization is complete


open suspend override fun setup(context: Context, parameters: SetupParameters?)

Call this method prior to using OloPayAPI or GooglePayContext

Parameters

context

The application context

parameters

The parameters used for setting up the Olo Pay SDK