Price
data class Price( val value: Double, val currency: Currency? = null, val volumeUnit: VolumeUnit? = null)
Content copied to clipboard
Represents the fuel price at a gas station.
Parameters
value
Numerical value of the price.
currency
Currency (e.g. Euro, USD etc.).
volumeUnit
Unit of volume (e.g. Liter)
Constructors
Link copied to clipboard
fun Price( value: Double, currency: Currency? = null, volumeUnit: VolumeUnit? = null)
Content copied to clipboard