Package ai.nextbillion.maps.model
Class PlacesSearchResult
java.lang.Object
ai.nextbillion.maps.model.PlacesSearchResult
- All Implemented Interfaces:
java.io.Serializable
public class PlacesSearchResult
extends java.lang.Object
implements java.io.Serializable
A single result in the search results returned from the Google Places API Web Service.
Please see Place Search Results for more detail.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringbusinessStatusThe status of the business (i.e.java.lang.StringformattedAddressThe human-readable address of this place.GeometrygeometryGeometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage.java.net.URLiconThe URL of a recommended icon which may be displayed to the user when indicating this result.java.lang.StringnameThe human-readable name for the returned result.OpeningHoursopeningHoursInformation on when the place is open.booleanpermanentlyClosedIndicates that the place has permanently shut down.Photo[]photosPhoto objects associated with this place, each containing a reference to an image.java.lang.StringplaceIdA textual identifier that uniquely identifies a place.floatratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews.PlaceIdScopescopeDeprecated.java.lang.String[]typesFeature types describing the given result.intuserRatingsTotalThe number of user reviews for this placejava.lang.StringvicinityA feature name of a nearby location. -
Constructor Summary
Constructors Constructor Description PlacesSearchResult() -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
Field Details
-
formattedAddress
public java.lang.String formattedAddressThe human-readable address of this place. -
geometry
Geometry information about the result, generally including the location (geocode) of the place and (optionally) the viewport identifying its general area of coverage. -
name
public java.lang.String nameThe human-readable name for the returned result. For establishment results, this is usually the business name. -
icon
public java.net.URL iconThe URL of a recommended icon which may be displayed to the user when indicating this result. -
placeId
public java.lang.String placeIdA textual identifier that uniquely identifies a place. -
scope
Deprecated.The scope of the placeId. -
rating
public float ratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews. -
types
public java.lang.String[] typesFeature types describing the given result. -
openingHours
Information on when the place is open. -
photos
Photo objects associated with this place, each containing a reference to an image. -
vicinity
public java.lang.String vicinityA feature name of a nearby location. -
permanentlyClosed
public boolean permanentlyClosedIndicates that the place has permanently shut down. -
userRatingsTotal
public int userRatingsTotalThe number of user reviews for this place -
businessStatus
public java.lang.String businessStatusThe status of the business (i.e. operational, temporarily closed, etc.).
-
-
Constructor Details
-
PlacesSearchResult
public PlacesSearchResult()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-