TerminalSettings

class TerminalSettings(terminalId: String = "", authHosts: Array<String> = emptyArray(), configHosts: Array<String> = emptyArray(), language: String = "", forceLogin: Boolean = false)

This class provides information required to perform a initialisation.

Parameters

terminalId
  • Terminal id

authHosts
  • Authentication host

configHosts
  • Configuration host

language
  • Requested language

forceLogin
  • Force a login

Constructors

Link copied to clipboard
fun TerminalSettings(terminalId: String = "", authHosts: Array<String> = emptyArray(), configHosts: Array<String> = emptyArray(), language: String = "", forceLogin: Boolean = false)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Gets the value of the force login flag. The force login flag forces a connection to the configuration and the authorisation hosts.

Link copied to clipboard
Link copied to clipboard

Gets the terminal id used by this payment terminal. The terminal id is an 8 digit number that uniquely identifies this terminal.

Link copied to clipboard
fun setAuthorisationHosts(vararg hosts: String)
Link copied to clipboard
fun setConfigurationHosts(vararg hosts: String)
Link copied to clipboard
fun setForceLogin(forceLogin: Boolean)

Sets the value of the force login flag. The force login flag forces a connection to the configuration and the authorisation hosts.

Link copied to clipboard
fun setLanguage(value: String)
Link copied to clipboard

Validate terminal settings.