Package com.google.maps.model
Class PlaceDetails
- java.lang.Object
-
- com.google.maps.model.PlaceDetails
-
- All Implemented Interfaces:
java.io.Serializable
public class PlaceDetails extends java.lang.Object implements java.io.SerializableThe result of a Place Details request. A Place Details request returns more comprehensive information about the indicated place such as its complete address, phone number, user rating, and reviews.See Place Details Results for more detail.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlaceDetails.AlternatePlaceIdsstatic classPlaceDetails.Review
-
Field Summary
Fields Modifier and Type Field Description AddressComponent[]addressComponentsA list of separate address components that comprise the address of this place.java.lang.StringadrAddressA representation of the place's address in the adr microformat.PlaceDetails.AlternatePlaceIds[]altIdsAn optional array of alternative place IDs for the place, with a scope related to each alternative ID.java.lang.StringformattedAddressThe human-readable address of this place.java.lang.StringformattedPhoneNumberThe place's phone number in its local format.GeometrygeometryThe location of the Place.java.lang.String[]htmlAttributionsAttributions about this listing which must be displayed to the user.java.net.URLiconThe URL of a suggested icon which may be displayed to the user when indicating this result on a map.java.lang.StringinternationalPhoneNumberThe place's phone number in international format.java.lang.StringnameThe human-readable name for the returned result.OpeningHoursopeningHoursThe opening hours for the place.booleanpermanentlyClosedWhether the place has permanently closed.Photo[]photosA list of photos associated with this place, each containing a reference to an image.java.lang.StringplaceIdA textual identifier that uniquely identifies this place.PlusCodeplusCodeThe Plus Code location identifier for this place.PriceLevelpriceLevelThe price level of the place.floatratingThe place's rating, from 1.0 to 5.0, based on aggregated user reviews.PlaceDetails.Review[]reviewsAn array of up to five reviews.PlaceIdScopescopeThe scope of the placeId.AddressType[]typesFeature types describing the given result.java.net.URLurlThe URL of the official Google page for this place.intutcOffsetThe number of minutes this place’s current timezone is offset from UTC.java.lang.StringvicinityA simplified address for the place, including the street name, street number, and locality, but not the province/state, postal code, or country.java.net.URLwebsiteThe authoritative website for this place, such as a business's homepage.
-
Constructor Summary
Constructors Constructor Description PlaceDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()
-
-
-
Field Detail
-
addressComponents
public AddressComponent[] addressComponents
A list of separate address components that comprise the address of this place.
-
adrAddress
public java.lang.String adrAddress
A representation of the place's address in the adr microformat.
-
formattedAddress
public java.lang.String formattedAddress
The human-readable address of this place.
-
formattedPhoneNumber
public java.lang.String formattedPhoneNumber
The place's phone number in its local format.
-
geometry
public Geometry geometry
The location of the Place.
-
icon
public java.net.URL icon
The URL of a suggested icon which may be displayed to the user when indicating this result on a map.
-
internationalPhoneNumber
public java.lang.String internationalPhoneNumber
The place's phone number in international format. International format includes the country code, and is prefixed with the plus (+) sign.
-
name
public java.lang.String name
The human-readable name for the returned result.
-
openingHours
public OpeningHours openingHours
The opening hours for the place.
-
photos
public Photo[] photos
A list of photos associated with this place, each containing a reference to an image.
-
placeId
public java.lang.String placeId
A textual identifier that uniquely identifies this place.
-
scope
public PlaceIdScope scope
The scope of the placeId.
-
plusCode
public PlusCode plusCode
The Plus Code location identifier for this place.
-
permanentlyClosed
public boolean permanentlyClosed
Whether the place has permanently closed.
-
altIds
public PlaceDetails.AlternatePlaceIds[] altIds
An optional array of alternative place IDs for the place, with a scope related to each alternative ID.
-
priceLevel
public PriceLevel priceLevel
The price level of the place. The exact amount indicated by a specific value will vary from region to region.
-
rating
public float rating
The place's rating, from 1.0 to 5.0, based on aggregated user reviews.
-
reviews
public PlaceDetails.Review[] reviews
An array of up to five reviews. If a language parameter was specified in the Place Details request, the Places Service will bias the results to prefer reviews written in that language.
-
types
public AddressType[] types
Feature types describing the given result.
-
url
public java.net.URL url
The URL of the official Google page for this place. This will be the establishment's Google+ page if the Google+ page exists, otherwise it will be the Google-owned page that contains the best available information about the place. Applications must link to or embed this page on any screen that shows detailed results about the place to the user.
-
utcOffset
public int utcOffset
The number of minutes this place’s current timezone is offset from UTC.
-
vicinity
public 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.
-
website
public java.net.URL website
The authoritative website for this place, such as a business's homepage.
-
htmlAttributions
public java.lang.String[] htmlAttributions
Attributions about this listing which must be displayed to the user.
-
-