GeostorePriceListSectionProto

GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListSectionProto


Table of Contents ▼

Jump to a specific part of the page:

Description

A PriceListSectionProto is used to store a section of a PriceListProto. For example, for a PriceListProto representing a food menu, a PriceListSectionProto represents a menu section. Each PriceListSectionProto contains a repeated list of items for sale; these items can be products or services. Right now every section should contain items of one type.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. callToAction (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreCallToActionProto, default: nil)
    - Call to action for the section.
  2. foodItem (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemProto), default: nil)
    - To store food and drink items when the containing PriceListSectionProto is a food menu section.
  3. item (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreComposableItemProto), default: nil)
    - To store any items when the containing PriceListSectionProto is not food / legacy services.
  4. itemType (type: list(String.t), default: nil)
    - This has to have at most one value.
  5. language (type: String.t, default: nil)
    - The external form of a Google International Identifiers Initiative (III) LanguageCode object. See google3/i18n/identifiers/languagecode.h for details. We place extra restrictions on languages in addition to what the III library requires. See go/geo-schema-reference/feature-properties/languages. When set, represents the language of the section and its items. Any section and item level name infos must match this language. Optional.
  6. media (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreMediaItemProto), default: nil)
    - One or more media items (photos, videos, etc.) describing this section / category.
  7. nameInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto), default: nil)
    - The repeated name_info field is for price list sections listed in multiple languages. When a price list section has no names or descriptions, the size of the repeated field name_info may be 0. There should be at most one name_info for any given language.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListSectionProto{
callToAction: GoogleApi.ContentWarehouse.V1.Model.GeostoreCallToActionProto.t() | nil,
foodItem: [GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemProto.t()] | nil,
item: [GoogleApi.ContentWarehouse.V1.Model.GeostoreComposableItemProto.t()] | nil,
itemType: [String.t()] | nil,
language: String.t() | nil,
media: [GoogleApi.ContentWarehouse.V1.Model.GeostoreMediaItemProto.t()] | nil,
nameInfo: [GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t()] | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListSectionProto