StoreEntity


public final class StoreEntity extends Entity


An object representing a store entity. (e.g., a restaurant or grocery store)

Summary

Nested types

public final class StoreEntity.Builder

Builder class for StoreEntity.

Public methods

Uri

Returns the action link uri of the food entity.

Optional<String>

Returns the callout text for the store. e.g. "Free delivery"

Optional<String>

Returns the fine print for the callout text e.g. "Limited time offer"

Optional<String>

Returns the category of the store. e.g. cuisine of the restaurant: "Italian"

Optional<String>

Returns the description of the store.

ImmutableList<DisplayTimeWindow>

Returns the display time windows associated with the store entity.

Optional<String>

Returns the id of the entity.

Optional<String>

Returns the location of the store.

List<Image>

Returns the poster image of the entity.

Optional<Rating>

Returns the rating of the food entity.

Optional<String>

Returns the title of the food entity.

Public fields

displayTimeWindows

public final ImmutableList<DisplayTimeWindow> displayTimeWindows

Public methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link uri of the food entity.

getCallout

public Optional<String> getCallout()

Returns the callout text for the store. e.g. "Free delivery"

getCalloutFinePrint

public Optional<String> getCalloutFinePrint()

Returns the fine print for the callout text e.g. "Limited time offer"

getCategory

public Optional<String> getCategory()

Returns the category of the store. e.g. cuisine of the restaurant: "Italian"

getDescription

public Optional<String> getDescription()

Returns the description of the store.

getDisplayTimeWindows

public ImmutableList<DisplayTimeWindow> getDisplayTimeWindows()

Returns the display time windows associated with the store entity.

getEntityId

public Optional<String> getEntityId()

Returns the id of the entity.

getLocation

public Optional<String> getLocation()

Returns the location of the store.

getPosterImages

public List<Image> getPosterImages()

Returns the poster image of the entity.

getRating

public Optional<Rating> getRating()

Returns the rating of the food entity.

getTitle

public Optional<String> getTitle()

Returns the title of the food entity.