OloPayAPI

Represents the Olo Pay API and functionality related to it


Important:

Prior to calling methods in this class be sure to initialize the SDK by calling OloPayApiInitializer.setup

See also

Use this class to initialize the Olo Pay SDK

Constructors

Link copied to clipboard
constructor()

Creates a new OloPayAPI instance

Functions

Link copied to clipboard
open suspend override fun createCvvUpdateToken(context: Context, params: ICvvTokenParams): ICvvUpdateToken

Creates an ICvvUpdateToken instance with the provided parameters

open override fun createCvvUpdateToken(context: Context, params: ICvvTokenParams, callback: ApiResultCallback<ICvvUpdateToken?>)

Creates an ICvvUpdateToken instance with the provided parameters and returns it via callback.

Link copied to clipboard
open suspend override fun createPaymentMethod(context: Context, params: IPaymentMethodParams?): IPaymentMethod

Creates an IPaymentMethod instance with the provided parameters

open override fun createPaymentMethod(context: Context, params: IPaymentMethodParams?, callback: ApiResultCallback<IPaymentMethod?>)

Creates an IPaymentMethod instance with the provided parameters and returns it via callback.