Class GenericFuel

java.lang.Object
com.here.sdk.search.GenericFuel

public final class GenericFuel extends Object

Contains generic fuel type info of fuel station.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Field Details

    • type

      @NonNull public FuelType type

      The type of the fuel.

    • additives

      @NonNull public List<FuelAdditive> additives

      The list of available fuel additives. The list can be empty when no fuel additives are available or when the information is unknown.

  • Constructor Details

    • GenericFuel

      public GenericFuel(@NonNull FuelType type)

      Creates a new instance.

      Parameters:
      type -

      The type of the fuel.

  • Method Details