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

Next ID: 18

Attributes

  • fullTitle (type: String.t, default: nil) - Field full_title may contain duplicate info from title and list_title.
  • imageDocid (type: list(String.t), default: nil) - Ordering for image_docid, and image_info are the same.
  • imageInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachmentPBlockImageInfo.t), default: nil) -
  • isFreeDelivery (type: boolean(), default: nil) -
  • isFreeReturn (type: boolean(), default: nil) -
  • listTitle (type: String.t, default: nil) -
  • maxPriceValue (type: number(), default: nil) -
  • minPriceValue (type: number(), default: nil) -
  • price (type: String.t, default: nil) -
  • priceCurrency (type: String.t, default: nil) -
  • priceValue (type: number(), default: nil) -
  • title (type: String.t, default: nil) - Product info extracted by Product Blocks go/sdu-shopping-page-intro and go/product-block-extraction. Here is an example of a page with a ## list_title (Shoes) and 3 blocks with their own titles: | Shoes | | ---------------------| | For Running | | ---------------------| | Men's Hiking | | ---------------------| ## | * Dress Shoes | The field full_title is what we constructed to best describe the product in the block. For example, for the above 3 blocks, their full_titles will contain info from list_title: "Shoes For Running", "Shoes Men's Hiking", "Dress Shoes". Note that the list_title is not repeated for the 3rd block Real sample pages: http://screen/6UaoBtwWsLfbSKg http://screen/BDHRgDonKG3KcXu, http://screen/53tLwNaX8mmYzDz

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachmentPBlock{
    fullTitle: String.t() | nil,
    imageDocid: [String.t()] | nil,
    imageInfo:
      [
        GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachmentPBlockImageInfo.t()
      ]
      | nil,
    isFreeDelivery: boolean() | nil,
    isFreeReturn: boolean() | nil,
    listTitle: String.t() | nil,
    maxPriceValue: number() | nil,
    minPriceValue: number() | nil,
    price: String.t() | nil,
    priceCurrency: String.t() | nil,
    priceValue: number() | nil,
    title: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.