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

ReaderSoftwareUpdate
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

UpdateComponent
Link copied to clipboard
enum UpdateComponent : Enum<ReaderSoftwareUpdate.UpdateComponent>
UpdateTimeEstimate
Link copied to clipboard
The UpdateTimeEstimate enums represents a range of time that this update is expected to take.

Properties

components
Link copied to clipboard
config
Link copied to clipboard
val config: MobileClientConfig?
configSpec
Link copied to clipboard
val configSpec: ClientVersionSpecPb?
firmwareSpec
Link copied to clipboard
val firmwareSpec: ClientVersionSpecPb?
hasConfigUpdate
Link copied to clipboard
val hasConfigUpdate: Boolean
Whether this update includes a config update
hasFirmwareUpdate
Link copied to clipboard
val hasFirmwareUpdate: Boolean
Whether this update includes a firmware update
hasIncrementalUpdate
Link copied to clipboard
val hasIncrementalUpdate: Boolean
Whether this update includes an incremental update (defined as splash screen update, EMV application updates, or settings updates).
hasKeyUpdate
Link copied to clipboard
val hasKeyUpdate: Boolean
Whether this update includes a key update
imageRef
Link copied to clipboard
val imageRef: ImageRef?
keyProfileName
Link copied to clipboard
val keyProfileName: String?
onlyInstallRequiredUpdates
Link copied to clipboard
var onlyInstallRequiredUpdates: Boolean = false
requiredAt
Link copied to clipboard
val requiredAt: Date
The date at which this update will be required to be installed.
settingsVersion
Link copied to clipboard
val settingsVersion: String?
timeEstimate
Link copied to clipboard
The estimated amount of time for an update.
version
Link copied to clipboard
val version: String
Return the version string for this update