View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemProto (google_api_content_warehouse v0.3.0)

A food menu item must have a name although it can have multiple names in different languages. Example: Thai Basil. Price for this item is specified in the item_option field. Since the price of an item may be unknown, e.g. seasonal price, there is nothing that requires an item_option to be present in the FoodMenuItemProto.

Attributes

  • itemOption (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemOptionProto.t), default: nil) -
  • nameInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t), default: nil) - The repeated name_info field is for items listed in multiple languages.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemProto{
  itemOption:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemOptionProto.t()]
    | nil,
  nameInfo:
    [GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t()]
    | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.