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.

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 methods

getActionLinkUri

public Uri getActionLinkUri()

Returns the action link uri of the food entity.

getCallout

public Optional<StringgetCallout()

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

getCalloutFinePrint

public Optional<StringgetCalloutFinePrint()

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

getCategory

public Optional<StringgetCategory()

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

getDescription

public Optional<StringgetDescription()

Returns the description of the store.

getEntityId

public Optional<StringgetEntityId()

Returns the id of the entity.

getLocation

public Optional<StringgetLocation()

Returns the location of the store.

getPosterImages

public List<ImagegetPosterImages()

Returns the poster image of the entity.

getRating

public Optional<RatinggetRating()

Returns the rating of the food entity.

getTitle

public Optional<StringgetTitle()

Returns the title of the food entity.