java.io.Serializablepublic class PlaceDetails
extends java.lang.Object
implements java.io.Serializable
See Place Details Results for more detail.
| Modifier and Type | Class | Description | 
|---|---|---|
static class  | 
PlaceDetails.AlternatePlaceIds | 
|
static class  | 
PlaceDetails.Review | 
| Modifier and Type | Field | Description | 
|---|---|---|
AddressComponent[] | 
addressComponents | 
 A list of separate address components that comprise the address of this place. 
 | 
java.lang.String | 
adrAddress | 
 A representation of the place's address in the adr microformat. 
 | 
PlaceDetails.AlternatePlaceIds[] | 
altIds | 
 An optional array of alternative place IDs for the place, with a scope related to each
 alternative ID. 
 | 
java.lang.String | 
formattedAddress | 
 The human-readable address of this place. 
 | 
java.lang.String | 
formattedPhoneNumber | 
 The place's phone number in its local format. 
 | 
Geometry | 
geometry | 
 The location of the Place. 
 | 
java.lang.String[] | 
htmlAttributions | 
 Attributions about this listing which must be displayed to the user. 
 | 
java.net.URL | 
icon | 
 The URL of a suggested icon which may be displayed to the user when indicating this result on a
 map. 
 | 
java.lang.String | 
internationalPhoneNumber | 
 The place's phone number in international format. 
 | 
java.lang.String | 
name | 
 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 | 
 A list of photos associated with this place, each containing a reference to an image. 
 | 
java.lang.String | 
placeId | 
 A textual identifier that uniquely identifies this place. 
 | 
PlusCode | 
plusCode | 
 The Plus Code location identifier for this place. 
 | 
PriceLevel | 
priceLevel | 
 The price level of the place. 
 | 
float | 
rating | 
 The place's rating, from 1.0 to 5.0, based on aggregated user reviews. 
 | 
PlaceDetails.Review[] | 
reviews | 
 An array of up to five reviews. 
 | 
PlaceIdScope | 
scope | 
 The scope of the placeId. 
 | 
AddressType[] | 
types | 
 Feature types describing the given result. 
 | 
java.net.URL | 
url | 
 The URL of the official Google page for this place. 
 | 
int | 
utcOffset | 
 The number of minutes this place’s current timezone is offset from UTC. 
 | 
java.lang.String | 
vicinity | 
 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 | 
 The authoritative website for this place, such as a business's homepage. 
 | 
| Constructor | Description | 
|---|---|
PlaceDetails() | 
| Modifier and Type | Method | Description | 
|---|---|---|
java.lang.String | 
toString() | 
public AddressComponent[] addressComponents
public java.lang.String adrAddress
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 PlusCode plusCode
public boolean permanentlyClosed
public PlaceDetails.AlternatePlaceIds[] altIds
public PriceLevel priceLevel
public float rating
public PlaceDetails.Review[] reviews
public AddressType[] types
public java.net.URL url
public int utcOffset
public java.lang.String vicinity
public java.net.URL website
public java.lang.String[] htmlAttributions