requestFuelPrices

Synchronously, requests the fuel prices based on the provided FuelPriceOptions object and delivers the Result by the provided FuelPriceResponse, or by a SearchError if the action fails.

Return

The Result contains a FuelPriceResponse if the call succeeds or a SearchError if it fails.

Parameters

options

The object which contains the data necessary to execute the fuel prices request.


Asynchronously, requests the fuel prices based on the provided FuelPriceOptions object and returns the result by the provided FuelPriceCallback.

Return

Cancellable fuel prices request operation.

Parameters

options

The object which contains the data necessary to execute the fuel prices request.

callback

The FuelPriceCallback invoked when the fuel prices request operation has been finished either successfully or with an error. The callback will be executed in the main thread.