DefaultSearchResultItemState
Default implementation of the SearchResultItemState interface.
Provides the logic for transforming a DirectoryObject into a state suitable for display in search results. It calculates derived properties and formats raw data for presentation.
Parameters
The user's last known GeoPoint, used for distance calculations. If null, distance-related properties will also be null.
Constructors
Properties
Important alert or status message (e.g., "Temporarily closed", "Limited services").
Key features or tags of the object, formatted for display (e.g., "Wi-Fi · Parking · 24/7").
Indicates if the charging station is currently active/operational. Relevant only for EV charging stations.
Indicates if the charging station is currently busy (all connectors in use). Relevant only for EV charging stations.
Detailed status of the charging station. Relevant only for EV charging stations.
The source directory object containing business data.
Total number of reviews submitted for this object.