build

fun build(context: Context, endpoint: String, readerInstallers: Set<SDKReaderInstaller>, pluginInstallers: Set<SDKPluginInstaller>, flow: SDKPaymentsFlow): SDKPaymentsConfiguration

Parameters

context

can be an ApplicationContext

endpoint

is the API endpoint url to be used. It must have a full http description, Eg: https://sdk-api.com/api

readerInstallers

set of installers for readers to be usable in the SDK

pluginInstallers

set of plugins to be usable in the SDK

flow

defines the transaction flow to use (V1 or V2)