Price

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

The fuel price.

Parameters

amount

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

currency

The currency in which the price is defined.

volumeUnit

The volume unit for which the price is defined.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard