OfflineStatus

@Serializable
data class OfflineStatus(val reader: OfflineStatusDetails?, val sdk: OfflineStatusDetails) : Serializable

OfflineStatus encapsulates OfflineStatusDetails from the Terminal SDK for the current account. It is split into two:

  1. the reader value represents the OfflineStatusDetails for the connected smart reader if there is one, and null when there is no smart reader connected.

  2. the sdk value which is the OfflineStatusDetails for the POS device, for the case of mobile readers where the POS acts as the agent for storing and forwarding requests.

NOTE that the reader value may not always accurately reflect the current offline stats from the connected reader, but is eventually consistent within the order of 1 minute.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
constructor(reader: OfflineStatusDetails?, sdk: OfflineStatusDetails)

Properties

Link copied to clipboard
Link copied to clipboard