View Source GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListSectionProto (google_api_content_warehouse v0.4.0)
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
-
callToAction
(type:GoogleApi.ContentWarehouse.V1.Model.GeostoreCallToActionProto.t
, default:nil
) - Call to action for the section. -
foodItem
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreFoodMenuItemProto.t)
, default:nil
) - To store food and drink items when the containing PriceListSectionProto is a food menu section. -
item
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreComposableItemProto.t)
, default:nil
) - To store any items when the containing PriceListSectionProto is not food / legacy services. -
itemType
(type:list(String.t)
, default:nil
) - This has to have at most one value. -
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. -
media
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostoreMediaItemProto.t)
, default:nil
) - One or more media items (photos, videos, etc.) describing this section / category. -
nameInfo
(type:list(GoogleApi.ContentWarehouse.V1.Model.GeostorePriceListNameInfoProto.t)
, 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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.