Price

data class Price(type: FuelType, name: String?, price: Double?)

A fuel price entry, consisting of a FuelType, a display name and a price. The price includes VAT.

Constructors

Price
Link copied to clipboard
fun Price(type: FuelType, name: String?, price: Double?)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
val name: String?
price
Link copied to clipboard
val price: Double?
type
Link copied to clipboard
val type: FuelType