public class PlaceResult extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
PlaceResult()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
JsArray<GeocoderAddressComponent> |
getAddress_Components()
The collection of address components for this Place's location.
|
String |
getFormatted_Address()
The Place's full address.
|
String |
getFormatted_Phone_Number()
The Place's phone number, formatted according to the number's regional convention.
|
PlaceGeometry |
getGeometry()
The Place's geometry-related information.
|
String |
getHtml_Attributions()
Attribution text to be displayed for this Place result.
|
String |
getIcon()
URL to an image resource that can be used to represent this Place's category.
|
String |
getId()
A unique identifier denoting this Place.
|
String |
getInternational_Phone_Number()
The Place's phone number in international format.
|
String |
getName()
The Place's name.
|
int |
getRating()
The Place's rating, from 0.0 to 5.0, based on user reviews.
|
String |
getReference()
An opaque string that may be used to retrieve up-to-date information about this Place (via PlacesService.getDetails()).
|
JsArrayString |
getTypes()
An array of types for this Place (e.g., ["political", "locality"] or ["restaurant", "establishment"]).
|
String |
getUrl()
URL of the associated Google Place Page.
|
String |
getVicinity()
A fragment of the Place's address for disambiguation (usually street name and locality).
|
String |
getWebsite()
The authoritative website for this Place, such as a business' homepage.
|
static PlaceResult |
newInstance()
Create new
PlaceResult instance. |
void |
setAddress_Components(JsArray<GeocoderAddressComponent> address_components)
The collection of address components for this Place's location.
|
void |
setFormated_Address(String formatted_address)
The Place's full address.
|
void |
setFormatted_Phone_Number(String formatted_phone_number)
The Place's phone number, formatted according to the number's regional convention.
|
void |
setGeometry(PlaceGeometry geometry)
The Place's geometry-related information.
|
void |
setHtml_Attributions(String html_attributions)
Attribution text to be displayed for this Place result.
|
void |
setIcon(String icon)
URL to an image resource that can be used to represent this Place's category.
|
void |
setId(String id)
A unique identifier denoting this Place.
|
void |
setInternational_Phone_Number(String international_phone_number)
The Place's phone number in international format.
|
void |
setName(String name)
The Place's name.
|
void |
setRating(int rating)
The Place's rating, from 0.0 to 5.0, based on user reviews.
|
void |
setReference(String reference)
An opaque string that may be used to retrieve up-to-date information about this Place (via PlacesService.getDetails()).
|
void |
setTypes(JsArrayString types)
An array of types for this Place (e.g., ["political", "locality"] or ["restaurant", "establishment"]).
|
void |
setUrl(String url)
URL of the associated Google Place Page.
|
void |
setVicinity(String vicinity)
A fragment of the Place's address for disambiguation (usually street name and locality).
|
void |
setWebsite(String website)
The authoritative website for this Place, such as a business' homepage.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final PlaceResult newInstance()
PlaceResult
instance.public final void setAddress_Components(JsArray<GeocoderAddressComponent> address_components)
address_components
- public final JsArray<GeocoderAddressComponent> getAddress_Components()
public final void setFormated_Address(String formatted_address)
formatted_address
- public final String getFormatted_Address()
public final void setFormatted_Phone_Number(String formatted_phone_number)
formatted_phone_number
- public final String getFormatted_Phone_Number()
public final void setGeometry(PlaceGeometry geometry)
geometry
- public final PlaceGeometry getGeometry()
public final void setHtml_Attributions(String html_attributions)
html_attributions
- public final String getHtml_Attributions()
public final void setIcon(String icon)
icon
- public final String getIcon()
public final void setId(String id)
id
- public final String getId()
public final void setInternational_Phone_Number(String international_phone_number)
international_phone_number
- public final String getInternational_Phone_Number()
public final void setName(String name)
name
- public final String getName()
public final void setRating(int rating)
rating
- public final int getRating()
public final void setReference(String reference)
reference
- public final String getReference()
public final void setTypes(JsArrayString types)
types
- public final JsArrayString getTypes()
public final void setUrl(String url)
url
- public final String getUrl()
public final void setVicinity(String vicinity)
vicinity
- public final String getVicinity()
public final void setWebsite(String website)
website
- public final String getWebsite()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.