ReaderSoftwareUpdate

class ReaderSoftwareUpdate(val requiredAtMs: Long, val durationEstimate: ReaderSoftwareUpdate.UpdateDurationEstimate, val version: String, val configSpec: ClientVersionSpecPb?, val firmwareSpec: ClientVersionSpecPb?, val keyProfileName: String?, val settingsVersion: String?, val imageRef: ImageRef?, val config: MobileClientConfig?)

ReaderSoftwareUpdate contains information about a potential software update to the reader.

For more information, see the official Stripe docs: Software updates

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

Constructors

Link copied to clipboard
constructor(requiredAtMs: Long, durationEstimate: ReaderSoftwareUpdate.UpdateDurationEstimate, version: String, configSpec: ClientVersionSpecPb?, firmwareSpec: ClientVersionSpecPb?, keyProfileName: String?, settingsVersion: String?, imageRef: ImageRef?, config: MobileClientConfig?)

Types

Link copied to clipboard

The UpdateDurationEstimate enums represents a range of time that this update is expected to take.

Properties

Link copied to clipboard
val config: MobileClientConfig?
Link copied to clipboard
val configSpec: ClientVersionSpecPb?
Link copied to clipboard

The estimated amount of time an update will take to complete. Note that these times are estimates; actual times may vary depending on your network connection.

Link copied to clipboard
val firmwareSpec: ClientVersionSpecPb?
Link copied to clipboard
@get:JvmName(name = "hasConfigUpdate")
val hasConfigUpdate: Boolean

Whether this update includes a config update

Link copied to clipboard
@get:JvmName(name = "hasFirmwareUpdate")
val hasFirmwareUpdate: Boolean

Whether this update includes a firmware update

Link copied to clipboard
@get:JvmName(name = "hasIncrementalUpdate")
val hasIncrementalUpdate: Boolean

Whether this update includes an incremental update (defined as splash screen update, EMV application updates, or settings updates).

Link copied to clipboard
@get:JvmName(name = "hasKeyUpdate")
val hasKeyUpdate: Boolean

Whether this update includes a key update

Link copied to clipboard
val imageRef: ImageRef?
Link copied to clipboard
Link copied to clipboard

The timestamp in milliseconds at which this update will be required to be installed. If this time is in the past, this update is required before the reader can be used.

Link copied to clipboard
Link copied to clipboard

Return the version string for this update