the applicationId that uniquely identifies the POS. e.g. com.company.MyPOS:2.3.1 for the first connection
the function that will return an instance of the CloverWebSocketInterface that will be used when connecting. For Browser implementations, this can be BrowserWebSocketImpl.createInstance. For NodeJS implementations, this will be defined differently.
utility to translate images into base64 strings.
the base url for the clover server used in the cloud connection. EX: https://www.clover.com, http://localhost:9000
the OAuth access token that will be used when contacting the clover server
the helper object used when making http requests.
the merchant the device belongs to.
the id (not uuid) of the device to connect to
an identifier for the specific terminal connected to this device. This id is used in debugging and may be sent to other clients if they attempt to connect to the same device. It will also be sent to other clients that are currently connected if this device does a forceConnect.
if true, overtake any existing connection.
Frequency at which we will ping the device - millis. Defaults to -1, which means the heartbeat check is disabled.
upon disconnect, duration to wait until a reconnect is attempted - millis. Defaults to 3000 (millis), minimum value is 3000 millis. To disable the reconnect set to -1.
If a response to a heartbeat ping is not received within this time we will call disconnect.
Generated using TypeDoc
Configuration used to create a connection to a device via the Clover cloud.