Class Details
- Last UpdatedJun 10, 2025
- 19 minute read
- java.lang.Object
-
- com.here.sdk.search.Details
-
public final class Details extends java.lang.Object
Contains details of a specific place, such as contact information, opening hours and assigned categories.
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<PlaceCategory>
categories
The list of categories assigned to this place.java.util.List<Contact>
contacts
The list of contact information of the place.java.util.List<WebEditorial>
editorials
The list of editorials associated with the place.EVChargingPool
evChargingPool
EV charging pool details.java.util.List<PlaceFoodType>
foodTypes
The list of food types assigned to this place.FuelStation
fuelStation
Fuel station details.java.util.List<WebImage>
images
The list of images associated with the place.java.util.List<OpeningHours>
openingHours
The list of opening hours information of the place.POIPaymentDetails
payment
Details about the payment options at the POI.java.util.List<WebRating>
ratings
The list of ratings associated with the place.java.util.List<SupplierReference>
references
The list of supplier references to this place.TruckAmenities
truckAmenities
Additional information that is available only for places that contain truck amenities.
-
Constructor Summary
Constructors Constructor Description Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references)
Creates a new instance.Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references, EVChargingPool evChargingPool)
Creates a new instance.Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references, EVChargingPool evChargingPool, TruckAmenities truckAmenities)
Creates a new instance.Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references, EVChargingPool evChargingPool, TruckAmenities truckAmenities, FuelStation fuelStation)
Creates a new instance.Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references, EVChargingPool evChargingPool, TruckAmenities truckAmenities, FuelStation fuelStation, java.util.List<PlaceFoodType> foodTypes)
Creates a new instance.Details(java.util.List<Contact> contacts, java.util.List<OpeningHours> openingHours, java.util.List<PlaceCategory> categories, java.util.List<WebImage> images, java.util.List<WebEditorial> editorials, java.util.List<WebRating> ratings, java.util.List<SupplierReference> references, EVChargingPool evChargingPool, TruckAmenities truckAmenities, FuelStation fuelStation, java.util.List<PlaceFoodType> foodTypes, POIPaymentDetails payment)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<PlaceCategory>
getPrimaryCategories()
Gets the list of primary categories assigned to this place.int
hashCode()
-
-
-
Field Detail
-
contacts
@NonNull public java.util.List<Contact> contacts
The list of contact information of the place.
Note: Not available as part of
Suggestion
results.
-
openingHours
@NonNull public java.util.List<OpeningHours> openingHours
The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.
-
categories
@NonNull public java.util.List<PlaceCategory> categories
The list of categories assigned to this place.
-
images
@NonNull public java.util.List<WebImage> images
The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.
-
editorials
@NonNull public java.util.List<WebEditorial> editorials
The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.
-
ratings
@NonNull public java.util.List<WebRating> ratings
The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.
-
references
@NonNull public java.util.List<SupplierReference> references
The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
-
evChargingPool
@Nullable public EVChargingPool evChargingPool
EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.
-
truckAmenities
@Nullable public TruckAmenities truckAmenities
Additional information that is available only for places that contain truck amenities. It is fully supported for offline search, provided that
LayerConfiguration.Feature.TRUCK_SERVICE_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
-
fuelStation
@Nullable public FuelStation fuelStation
Fuel station details. It is available only if a place is a fuel station and contain fuel data. It is fully supported for offline search, provided that
LayerConfiguration.Feature.FUEL_STATION_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "fuel" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
-
foodTypes
@NonNull public java.util.List<PlaceFoodType> foodTypes
The list of food types assigned to this place. Not supported in
OfflineSearchEngine
(not available in all editions).
-
payment
@Nullable public POIPaymentDetails payment
Details about the payment options at the POI. Set to
null
if the place is not a POI or if payment details are not available. Not supported inOfflineSearchEngine
(not available in all editions).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.
-
-
Constructor Detail
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references, @Nullable EVChargingPool evChargingPool)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
evChargingPool
-EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references, @Nullable EVChargingPool evChargingPool, @Nullable TruckAmenities truckAmenities)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
evChargingPool
-EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.truckAmenities
-Additional information that is available only for places that contain truck amenities. It is fully supported for offline search, provided that
LayerConfiguration.Feature.TRUCK_SERVICE_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references, @Nullable EVChargingPool evChargingPool, @Nullable TruckAmenities truckAmenities, @Nullable FuelStation fuelStation)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
evChargingPool
-EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.truckAmenities
-Additional information that is available only for places that contain truck amenities. It is fully supported for offline search, provided that
LayerConfiguration.Feature.TRUCK_SERVICE_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
fuelStation
-Fuel station details. It is available only if a place is a fuel station and contain fuel data. It is fully supported for offline search, provided that
LayerConfiguration.Feature.FUEL_STATION_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "fuel" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references, @Nullable EVChargingPool evChargingPool, @Nullable TruckAmenities truckAmenities, @Nullable FuelStation fuelStation, @NonNull java.util.List<PlaceFoodType> foodTypes)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
evChargingPool
-EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.truckAmenities
-Additional information that is available only for places that contain truck amenities. It is fully supported for offline search, provided that
LayerConfiguration.Feature.TRUCK_SERVICE_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
fuelStation
-Fuel station details. It is available only if a place is a fuel station and contain fuel data. It is fully supported for offline search, provided that
LayerConfiguration.Feature.FUEL_STATION_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "fuel" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
foodTypes
-The list of food types assigned to this place. Not supported in
OfflineSearchEngine
(not available in all editions).
-
Details
public Details(@NonNull java.util.List<Contact> contacts, @NonNull java.util.List<OpeningHours> openingHours, @NonNull java.util.List<PlaceCategory> categories, @NonNull java.util.List<WebImage> images, @NonNull java.util.List<WebEditorial> editorials, @NonNull java.util.List<WebRating> ratings, @NonNull java.util.List<SupplierReference> references, @Nullable EVChargingPool evChargingPool, @Nullable TruckAmenities truckAmenities, @Nullable FuelStation fuelStation, @NonNull java.util.List<PlaceFoodType> foodTypes, @Nullable POIPaymentDetails payment)
Creates a new instance.
- Parameters:
contacts
-The list of contact information of the place.
Note: Not available as part of
Suggestion
results.openingHours
-The list of opening hours information of the place.
Note: Not available as part of
Suggestion
results.categories
-The list of categories assigned to this place.
images
-The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.editorials
-The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.ratings
-The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
Note: Not available as part of
Suggestion
results.references
-The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.
evChargingPool
-EV charging pool details. It is available only for a place that is a charging pool for electric vehicles. It is fully supported for offline search, provided that
LayerConfiguration.Feature.EV
is enabled inSDKOptions.layerConfiguration
.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "browse.show" value: "ev" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show" and "browse.show". To enable fuel station details or truck amenities, the custom option value can be combined as "ev,truck", "ev,truck,fuel" etc.truckAmenities
-Additional information that is available only for places that contain truck amenities. It is fully supported for offline search, provided that
LayerConfiguration.Feature.TRUCK_SERVICE_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "truck" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
fuelStation
-Fuel station details. It is available only if a place is a fuel station and contain fuel data. It is fully supported for offline search, provided that
LayerConfiguration.Feature.FUEL_STATION_ATTRIBUTES
is enabled inSDKOptions.layerConfiguration
.Note: Currently, for online search, this is a closed-alpha feature, so it is available only for selected customers. The field is always null for everyone that is not part of the closed-alpha group. Participants of the closed-alpha group can get access from HERE to use this feature. If the credentials are not enabled, a
SearchError.FORBIDDEN
will be propagated.For online search, this feature is only available if it is explicitly enabled. To do that, call
SearchEngine.set_custom_option()
with arguments: name: "lookup.show" or "discover.show" or "autosuggest.show" or "browse.show" value: "fuel" To enable this feature for all queries, callSearchEngine.set_custom_option()
for all: "lookup.show", "discover.show", "autosuggest.show" and "browse.show". To enable bothtruck_amenities
andfuel_station
features, set the value to "fuel,truck".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.
foodTypes
-The list of food types assigned to this place. Not supported in
OfflineSearchEngine
(not available in all editions).payment
-Details about the payment options at the POI. Set to
null
if the place is not a POI or if payment details are not available. Not supported inOfflineSearchEngine
(not available in all editions).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.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getPrimaryCategories
@NonNull public java.util.List<PlaceCategory> getPrimaryCategories()
Gets the list of primary categories assigned to this place.
- Returns:
List of categories.
-
-