com.citygrid.content.offers
Class CGOffersLocation
java.lang.Object
com.citygrid.content.offers.CGOffersLocation
- All Implemented Interfaces:
- CGLocation, CGLocationDetailProvider, HasLocationIdAndImpressionId, Serializable
public class CGOffersLocation
- extends Object
- implements CGLocation, CGLocationDetailProvider, Serializable
- See Also:
- Serialized Form
baseLocation
private CGBaseLocation baseLocation
businessHours
private String businessHours
tags
private CGTag[] tags
CGOffersLocation
private CGOffersLocation(CGOffersLocation.Builder builder)
getBusinessHours
public String getBusinessHours()
getTags
public CGTag[] getTags()
getLocationId
public int getLocationId()
- Specified by:
getLocationId
in interface HasLocationIdAndImpressionId
getImpressionId
public String getImpressionId()
- Specified by:
getImpressionId
in interface HasLocationIdAndImpressionId
getName
public String getName()
- Specified by:
getName
in interface CGLocation
getAddress
public CGAddress getAddress()
- Specified by:
getAddress
in interface CGLocation
getLatlon
public CGLatLon getLatlon()
- Specified by:
getLatlon
in interface CGLocation
getImage
public URI getImage()
- Specified by:
getImage
in interface CGLocation
getPhone
public String getPhone()
- Specified by:
getPhone
in interface CGLocation
getRating
public int getRating()
- Specified by:
getRating
in interface CGLocation
placesDetail
public CGPlacesDetail placesDetail()
- Convenience methods that returns a builder
CGPlacesDetail
for current location.
- Specified by:
placesDetail
in interface CGLocationDetailProvider
- Returns:
placesDetailLocation
public CGPlacesDetailLocation placesDetailLocation()
throws CGException
- Convenience methods that returns details of current location.
- Specified by:
placesDetailLocation
in interface CGLocationDetailProvider
- Returns:
-
- Throws:
CGException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011. All Rights Reserved.