Class FuelStation
- Last UpdatedDec 18, 2024
- 2 minute read
Class FuelStation
- java.lang.Object
-
- com.here.sdk.search.FuelStation
-
public final class FuelStation extends java.lang.Object
Contains information about a specific fuel station.
Use
PlaceCategory.BUSINESS_AND_SERVICES_PETROL_GASOLINE_STATION
to find fuel stations. In theDetails
of aPlace
result 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>
fuels
The list of car fuel types associated with the fuel station.java.lang.Boolean
highVolumePumps
Indicates if high volume pumps are available or not.java.lang.Boolean
payAtThePump
Indicates if paying at the pump is supported or not.java.util.List<TruckFuel>
truckFuels
The 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 boolean
equals(java.lang.Object obj)
int
hashCode()
-
-
-
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.
null
means information is unknown.
-
highVolumePumps
@Nullable public java.lang.Boolean highVolumePumps
Indicates if high volume pumps are available or not.
null
means information is unknown.
-
-