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.AlternatePlaceIdsDeprecated.static 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[]altIdsDeprecated.java.lang.StringbusinessStatusThe status of the business (i.e.java.lang.BooleancurbsidePickupSpecifies if the business supports curbside pickup.OpeningHourscurrentOpeningHoursThe hours of operation for the next seven days (including today).java.lang.BooleandeliverySpecifies if the business supports delivery.java.lang.BooleandineInSpecifies if the business supports indoor or outdoor seating options.PlaceEditorialSummaryeditorialSummaryContains a summary of the place.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 regular hours of operation.booleanpermanentlyClosedDeprecated.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.java.lang.BooleanreservableSpecifies if the place supports reservations.PlaceDetails.Review[]reviewsAn array of up to five reviews.PlaceIdScopescopeDeprecated.OpeningHourssecondaryOpeningHoursContains an array of entries for the next seven days including information about secondary hours of a business.java.lang.BooleanservesBeerSpecifies if the place serves beer.java.lang.BooleanservesBreakfastSpecifies if the place serves breakfast.java.lang.BooleanservesBrunchSpecifies if the place serves brunch.java.lang.BooleanservesDinnerSpecifies if the place serves dinner.java.lang.BooleanservesLunchSpecifies if the place serves lunch.java.lang.BooleanservesVegetarianFoodSpecifies if the place serves vegetarian food.java.lang.BooleanservesWineSpecifies if the place serves wine.java.lang.BooleantakeoutSpecifies if the business supports takeout.AddressType[]typesFeature types describing the given result.java.net.URLurlThe URL of the official Google page for this place.intuserRatingsTotalThe number of user reviews for this placeintutcOffsetThe 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.java.lang.BooleanwheelchairAccessibleEntranceSpecifies if the place has an entrance that is wheelchair-accessible.
-
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.
-
businessStatus
public java.lang.String businessStatus
The status of the business (i.e. operational, temporarily closed, etc.).
-
curbsidePickup
public java.lang.Boolean curbsidePickup
Specifies if the business supports curbside pickup.
-
currentOpeningHours
public OpeningHours currentOpeningHours
The hours of operation for the next seven days (including today). The time period starts at midnight on the date of the request and ends at 11:59 pm six days later. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
-
delivery
public java.lang.Boolean delivery
Specifies if the business supports delivery.
-
dineIn
public java.lang.Boolean dineIn
Specifies if the business supports indoor or outdoor seating options.
-
editorialSummary
public PlaceEditorialSummary editorialSummary
Contains a summary of the place. A summary is comprised of a textual overview, and also includes the language code for these if applicable. Summary text must be presented as-is and can not be modified or altered.
-
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 regular hours of operation.
-
permanentlyClosed
@Deprecated public boolean permanentlyClosed
Deprecated.Whether the place has permanently closed.
-
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
@Deprecated public PlaceIdScope scope
Deprecated.The scope of the placeId.
-
plusCode
public PlusCode plusCode
The Plus Code location identifier for this place.
-
priceLevel
public PriceLevel priceLevel
The price level of the place. The exact amount indicated by a specific value will vary from region to region.
-
altIds
@Deprecated public PlaceDetails.AlternatePlaceIds[] altIds
Deprecated.An optional array of alternative place IDs for the place, with a scope related to each alternative ID.
-
rating
public float rating
The place's rating, from 1.0 to 5.0, based on aggregated user reviews.
-
reservable
public java.lang.Boolean reservable
Specifies if the place supports reservations.
-
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.
-
secondaryOpeningHours
public OpeningHours secondaryOpeningHours
Contains an array of entries for the next seven days including information about secondary hours of a business. Secondary hours are different from a business's main hours. For example, a restaurant can specify drive through hours or delivery hours as its secondary hours. This field populates the type subfield, which draws from a predefined list of opening hours types (such as DRIVE_THROUGH, PICKUP, or TAKEOUT) based on the types of the place. This field includes the special_days subfield of all hours, set for dates that have exceptional hours.
-
servesBeer
public java.lang.Boolean servesBeer
Specifies if the place serves beer.
-
servesBreakfast
public java.lang.Boolean servesBreakfast
Specifies if the place serves breakfast.
-
servesBrunch
public java.lang.Boolean servesBrunch
Specifies if the place serves brunch.
-
servesDinner
public java.lang.Boolean servesDinner
Specifies if the place serves dinner.
-
servesLunch
public java.lang.Boolean servesLunch
Specifies if the place serves lunch.
-
servesVegetarianFood
public java.lang.Boolean servesVegetarianFood
Specifies if the place serves vegetarian food.
-
servesWine
public java.lang.Boolean servesWine
Specifies if the place serves wine.
-
takeout
public java.lang.Boolean takeout
Specifies if the business supports takeout.
-
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.
-
userRatingsTotal
public int userRatingsTotal
The number of user reviews for this place
-
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.
-
wheelchairAccessibleEntrance
public java.lang.Boolean wheelchairAccessibleEntrance
Specifies if the place has an entrance that is wheelchair-accessible.
-
htmlAttributions
public java.lang.String[] htmlAttributions
Attributions about this listing which must be displayed to the user.
-
-