Class TruckFuel
Package com.here.sdk.search
Class TruckFuel
- java.lang.Object
-
- com.here.sdk.search.TruckFuel
-
public final class TruckFuel extends java.lang.ObjectContains truck fuel type info of fuel station. Note: This is a BETA feature and thus subject to change.
-
-
Field Summary
Fields Modifier and Type Field Description TruckClassmaximumTruckClassThe maximum truck class that this fuel type supports.TruckFuelTypetypeThe type of the fuel.
-
Constructor Summary
Constructors Constructor Description TruckFuel(TruckFuelType 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 TruckFuelType type
The type of the fuel.
-
maximumTruckClass
@Nullable public TruckClass maximumTruckClass
The maximum truck class that this fuel type supports.
nullmeans information is unknown.
-
-
Constructor Detail
-
TruckFuel
public TruckFuel(@NonNull TruckFuelType type)Creates a new instance.
- Parameters:
type-The type of the fuel.
-
-