Class PlaceDetails

  • All Implemented Interfaces:
    java.io.Serializable

    public class PlaceDetails
    extends java.lang.Object
    implements java.io.Serializable
    The 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
    • Field Summary

      Fields 
      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
      Deprecated.
      java.lang.String businessStatus
      The status of the business (i.e.
      java.lang.Boolean curbsidePickup
      Specifies if the business supports curbside pickup.
      OpeningHours currentOpeningHours
      The hours of operation for the next seven days (including today).
      java.lang.Boolean delivery
      Specifies if the business supports delivery.
      java.lang.Boolean dineIn
      Specifies if the business supports indoor or outdoor seating options.
      PlaceEditorialSummary editorialSummary
      Contains a summary of the place.
      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 regular hours of operation.
      boolean permanentlyClosed
      Deprecated.
      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.
      java.lang.Boolean reservable
      Specifies if the place supports reservations.
      PlaceDetails.Review[] reviews
      An array of up to five reviews.
      PlaceIdScope scope
      Deprecated.
      OpeningHours secondaryOpeningHours
      Contains an array of entries for the next seven days including information about secondary hours of a business.
      java.lang.Boolean servesBeer
      Specifies if the place serves beer.
      java.lang.Boolean servesBreakfast
      Specifies if the place serves breakfast.
      java.lang.Boolean servesBrunch
      Specifies if the place serves brunch.
      java.lang.Boolean servesDinner
      Specifies if the place serves dinner.
      java.lang.Boolean servesLunch
      Specifies if the place serves lunch.
      java.lang.Boolean servesVegetarianFood
      Specifies if the place serves vegetarian food.
      java.lang.Boolean servesWine
      Specifies if the place serves wine.
      java.lang.Boolean takeout
      Specifies if the business supports takeout.
      AddressType[] types
      Feature types describing the given result.
      java.net.URL url
      The URL of the official Google page for this place.
      int userRatingsTotal
      The number of user reviews 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.
      java.lang.Boolean wheelchairAccessibleEntrance
      Specifies 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.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.
    • Constructor Detail

      • PlaceDetails

        public PlaceDetails()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object