FuelPriceProvider
public protocol FuelPriceProvider
Defines Fuel Price API that complement basic search.
The Fuel Price endpoint provides information about fuel prices at a gas station or recharge cost at a charging station.
Declaration
Swift
func requestFuelPrices(
options: FuelPriceOptions,
completion: @escaping (Result<FuelPriceResponse, Error>) -> ()
)
Parameters
options
|
Information related to fuel prices. |
completion
|
The completion closure is called after the response to the request has been processed.
If no errors occurred, |