Class FuelStation
Class FuelStation
- java.lang.Object
-
- com.here.sdk.search.FuelStation
-
public final class FuelStation extends java.lang.ObjectContains information about a specific fuel station.
Use
PlaceCategory.BUSINESS_AND_SERVICES_PETROL_GASOLINE_STATIONto find fuel stations. In theDetailsof aPlaceresult you can find the associated fuel station information, if any.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<GenericFuel>fuelsThe list of car fuel types associated with the fuel station.java.lang.BooleanhighVolumePumpsIndicates if high volume pumps are available or not.java.lang.BooleanpayAtThePumpIndicates if paying at the pump is supported or not.java.util.List<TruckFuel>truckFuelsThe list of truck fuel types associated with the fuel station.
-
Constructor Summary
Constructors Constructor Description FuelStation()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
-
fuels
@NonNull public java.util.List<GenericFuel> fuels
The list of car fuel types associated with the fuel station. The list can be empty when no generic fuels are offered or when the information is unknown.
-
truckFuels
@NonNull public java.util.List<TruckFuel> truckFuels
The list of truck fuel types associated with the fuel station. The list can be empty when no truck fuels are offered or when the information is unknown.
-
payAtThePump
@Nullable public java.lang.Boolean payAtThePump
Indicates if paying at the pump is supported or not.
nullmeans information is unknown.
-
highVolumePumps
@Nullable public java.lang.Boolean highVolumePumps
Indicates if high volume pumps are available or not.
nullmeans information is unknown.
-
-