ReaderSoftwareUpdate

class ReaderSoftwareUpdate(requiredAt: Date, timeEstimate: ReaderSoftwareUpdate.UpdateTimeEstimate, version: String, configSpec: ClientVersionSpecPb?, firmwareSpec: ClientVersionSpecPb?, keyProfileName: String?, settingsVersion: String?, imageRef: ImageRef?, 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
fun ReaderSoftwareUpdate(requiredAt: Date, timeEstimate: ReaderSoftwareUpdate.UpdateTimeEstimate, version: String, configSpec: ClientVersionSpecPb?, firmwareSpec: ClientVersionSpecPb?, keyProfileName: String?, settingsVersion: String?, imageRef: ImageRef?, config: MobileClientConfig?)

Types

Link copied to clipboard
enum UpdateComponent : Enum<ReaderSoftwareUpdate.UpdateComponent>
Link copied to clipboard

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

Properties

Link copied to clipboard
Link copied to clipboard
val config: MobileClientConfig?
Link copied to clipboard
val configSpec: ClientVersionSpecPb?
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
val keyProfileName: String?
Link copied to clipboard
var onlyInstallRequiredUpdates: Boolean = false
Link copied to clipboard
val requiredAt: Date

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

Link copied to clipboard
val settingsVersion: String?
Link copied to clipboard

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

Link copied to clipboard
val version: String

Return the version string for this update