public class PlaceDetails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PlaceDetails.AlternatePlaceIds |
static class |
PlaceDetails.Review |
Modifier and Type | Field and Description |
---|---|
AddressComponent[] |
addressComponents
addressComponents is a list of separate address components used to compose a given address.
|
PlaceDetails.AlternatePlaceIds[] |
altIds
altIds is an optional array of alternative place IDs for the place, with a scope related to
each alternative ID.
|
java.lang.String |
formattedAddress
formattedAddress is a string containing the human-readable address of this place.
|
java.lang.String |
formattedPhoneNumber
formattedPhoneNumber contains the place's phone number in its local format.
|
Geometry |
geometry
geometry is the location of the Place.
|
java.lang.String[] |
htmlAttributions
htmlAttributions contains an array of attributions about this listing which must be displayed
to the user.
|
java.net.URL |
icon
icon contains the URL of a suggested icon which may be displayed to the user when indicating
this result on a map.
|
java.lang.String |
internationalPhoneNumber
internationalPhoneNumber contains the place's phone number in international format.
|
java.lang.String |
name
name contains the human-readable name for the returned result.
|
OpeningHours |
openingHours
The opening hours for the place.
|
boolean |
permanentlyClosed
Whether the place has permanently closed.
|
Photo[] |
photos
photos is a list of photo objects, each containing a reference to an image.
|
java.lang.String |
placeId
placeId is a textual identifier that uniquely identifies a place.
|
PriceLevel |
priceLevel
priceLevel is the price level of the place.
|
float |
rating
rating contains the place's rating, from 1.0 to 5.0, based on aggregated user reviews.
|
PlaceDetails.Review[] |
reviews
reviews is an array of up to five reviews.
|
PlaceIdScope |
scope
scope: Indicates the scope of the placeId.
|
java.lang.String[] |
types
types contains an array of feature types describing the given result.
|
java.net.URL |
url
url contains the URL of the official Google page for this place.
|
int |
utcOffset
utcOffset contains the number of minutes this place’s current timezone is offset from UTC.
|
java.lang.String |
vicinity
vicinity lists a simplified address for the place, including the street name, street number,
and locality, but not the province/state, postal code, or country.
|
java.net.URL |
website
website lists the authoritative website for this place, such as a business' homepage.
|
Constructor and Description |
---|
PlaceDetails() |
public AddressComponent[] addressComponents
public java.lang.String formattedAddress
public java.lang.String formattedPhoneNumber
public Geometry geometry
public java.net.URL icon
public java.lang.String internationalPhoneNumber
public java.lang.String name
public OpeningHours openingHours
public Photo[] photos
public java.lang.String placeId
public PlaceIdScope scope
public boolean permanentlyClosed
public PlaceDetails.AlternatePlaceIds[] altIds
public PriceLevel priceLevel
public float rating
public PlaceDetails.Review[] reviews
public java.lang.String[] types
public java.net.URL url
public int utcOffset
public java.lang.String vicinity
public java.net.URL website
public java.lang.String[] htmlAttributions