StoreEntity.Builder


class StoreEntity.Builder


Builder class for StoreEntity.

Summary

Public constructors

Public functions

StoreEntity.Builder!

Add a poster image of the entity.

StoreEntity.Builder!

Add poster images of the entity.

StoreEntity!
StoreEntity.Builder!

Sets the action link uri for the store entity.

StoreEntity.Builder!

Sets the callout of the store. e.g. "Free delivery"

StoreEntity.Builder!

Sets the fine print of the callout. e.g. "Limited time only"

StoreEntity.Builder!

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

StoreEntity.Builder!

Sets the description of the store.

StoreEntity.Builder!

Sets content id of the entity.

StoreEntity.Builder!

Sets the location of the store.

StoreEntity.Builder!

Sets the rating for the store entity.

StoreEntity.Builder!

Sets the title of the store entity.

Public constructors

Builder

Builder()

Public functions

addPosterImage

@CanIgnoreReturnValue
fun addPosterImage(image: Image!): StoreEntity.Builder!

Add a poster image of the entity.

Required.

addPosterImages

@CanIgnoreReturnValue
fun addPosterImages(images: (Mutable)List<Image!>!): StoreEntity.Builder!

Add poster images of the entity.

Required.

build

fun build(): StoreEntity!

setActionLinkUri

@CanIgnoreReturnValue
fun setActionLinkUri(actionLinkUri: Uri!): StoreEntity.Builder!

Sets the action link uri for the store entity.

Required.

setCallout

@CanIgnoreReturnValue
fun setCallout(callout: String!): StoreEntity.Builder!

Sets the callout of the store. e.g. "Free delivery"

Optional.

setCalloutFinePrint

@CanIgnoreReturnValue
fun setCalloutFinePrint(calloutFinePrint: String!): StoreEntity.Builder!

Sets the fine print of the callout. e.g. "Limited time only"

Optional.

setCategory

@CanIgnoreReturnValue
fun setCategory(category: String!): StoreEntity.Builder!

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

Optional.

setDescription

@CanIgnoreReturnValue
fun setDescription(description: String!): StoreEntity.Builder!

Sets the description of the store.

Optional.

setEntityId

@CanIgnoreReturnValue
fun setEntityId(entityId: String!): StoreEntity.Builder!

Sets content id of the entity.

Optional.

setLocation

@CanIgnoreReturnValue
fun setLocation(location: String!): StoreEntity.Builder!

Sets the location of the store.

Optional.

setRating

@CanIgnoreReturnValue
fun setRating(rating: Rating!): StoreEntity.Builder!

Sets the rating for the store entity.

Optional.

setTitle

@CanIgnoreReturnValue
fun setTitle(title: String!): StoreEntity.Builder!

Sets the title of the store entity.

Optional.