Price

data class Price(val amount: BigDecimal, val currency: Currency, val volumeUnit: Volume.Unit)

The fuel price.

Constructors

Link copied to clipboard
constructor(amount: BigDecimal, currency: Currency, volumeUnit: Volume.Unit)

Properties

Link copied to clipboard

The amount that has to be paid according to the price.

Link copied to clipboard

The currency in which the price is defined.

Link copied to clipboard

The volume unit for which the price is defined.