SwitcloudClt

open class SwitcloudClt(serverUrl: String)

Inheritors

Constructors

Link copied to clipboard
constructor(serverUrl: String)

Functions

Link copied to clipboard
fun authenticateMachine(clientId: String, clientSecret: String)

Authenticates as a machine against the Switcloud server.

Link copied to clipboard
fun authenticateUser(username: String, password: String)

Authenticates as a user against the Switcloud server.

Link copied to clipboard
fun cleanup()

Cleans the services up.

Link copied to clipboard
fun complete(paymentId: UUID)

Completes the transaction.

Link copied to clipboard
fun configure(poiId: UUID, paymentId: UUID)
fun configure(poiId: UUID, paymentId: UUID, trd: String?)

Configures the L2 SDK / kernels (EMV configurations, CAPKS, CRL, etc...) with data coming from Switcloud.

Link copied to clipboard

Initializes the services.

Link copied to clipboard

Initiates the transaction.

Link copied to clipboard

Initiates the transaction.