GoogleApi.DFAReporting.V4.Model.CartDataItem (google_api_dfa_reporting v0.31.0)

View Source

Contains data of the items purchased.

Attributes

  • itemId (type: String.t, default: nil) - The shopping id of the item. Must be equal to the Merchant Center product identifier. This is a required field.
  • quantity (type: integer(), default: nil) - Number of items sold. This is a required field.
  • unitPrice (type: float(), default: nil) - Unit price excluding tax, shipping, and any transaction level discounts. Interpreted in CM360 Floodlight config parent advertiser's currency code. This is a required field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V4.Model.CartDataItem{
  itemId: String.t() | nil,
  quantity: integer() | nil,
  unitPrice: float() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.