# MobilePaymentsSdk

object MobilePaymentsSdk

Top-level access to Mobile Payments SDK functionality. The various manager classes provided here all implement interface types you can stub out and mock for testing applications using MobilePaymentsSdk; this class functions as a factory to provide the "real" implementations.

## Functions

authorizationManager
Link copied to clipboard
@JvmStatic
fun authorizationManager(): AuthorizationManager

Returns the AuthorizationManager singleton for authorizing Mobile Payments SDK to collect payments.

initialize
Link copied to clipboard
@JvmStatic
fun initialize(applicationId: String, application: Application)

The entry point for Mobile Payments SDK. Manages initialization and provides access to managers for all SDK operations. You must initialize the SDK before attempting any other operation. The SDK may only be initialized once.

isSandboxEnvironment
Link copied to clipboard
@JvmStatic
fun isSandboxEnvironment(): Boolean

Returns 'true' if Mobile Payments SDK is in Sandbox environment, 'false' otherwise.

paymentManager
Link copied to clipboard
@JvmStatic
fun paymentManager(): PaymentManager

Retrieves PaymentManager, a singleton responsible for processing payments.

readerManager
Link copied to clipboard
@JvmStatic
fun readerManager(): ReaderManager

Retrieves ReaderManager, responsible for tracking and updating the available readers.

settingsManager
Link copied to clipboard
@JvmStatic
fun settingsManager(): SettingsManager

Retrieves SettingsManager, a singleton responsible for managing SDK settings.