Class GenericFuel
Package com.here.sdk.search
Class GenericFuel
- java.lang.Object
-
- com.here.sdk.search.GenericFuel
-
public final class GenericFuel extends java.lang.ObjectContains 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 Summary
Fields Modifier and Type Field Description java.util.List<FuelAdditive>additivesThe list of available fuel additives.FuelTypetypeThe type of the fuel.
-
Constructor Summary
Constructors Constructor Description GenericFuel(FuelType type)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
type
@NonNull public FuelType type
The type of the fuel.
-
additives
@NonNull public java.util.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 Detail
-
GenericFuel
public GenericFuel(@NonNull FuelType type)Creates a new instance.
- Parameters:
type-The type of the fuel.
-
-