SwitcloudTestClient

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

Loads a virtual card.

Link copied to clipboard

Initiates the transaction.

Link copied to clipboard

Reports whether the implementation supports virtual cards.