FuelPriceDetails
public struct FuelPriceDetails
Fuel price information.
-
Initializes a fuel price structure with specified parameters.
Declaration
Swift
public init( type: FuelType, prices: [FuelPrice], updatedAt: Date )
-
The fuel type for which the price is provided.
Declaration
Swift
public let type: FuelType
-
The list of available prices for the fuel. Multiple prices can be provided if there are different currencies and/or different volume units.
Declaration
Swift
public let prices: [FuelPrice]
-
The date and time when the fuel price was updated.
Declaration
Swift
public let updatedAt: Date