Jetpack

constructor(id: String = UUID.randomUUID().toString(), name: String = String(), price: Double = 0.0, lastUpdated: Long = System.currentTimeMillis(), lastSynced: Long = 0, needsSync: Boolean = true, formattedDate: String = lastUpdated.asFormattedDateTime())

Parameters

id

The unique identifier of the Jetpack.

name

The name of the Jetpack.

price

The price of the Jetpack.

lastUpdated

The last updated timestamp of the Jetpack.

lastSynced

The last synced timestamp of the Jetpack.

needsSync

The sync status of the Jetpack.

formattedDate

The formatted date of the Jetpack.