google_api_analytics_reporting v0.8.0 GoogleApi.AnalyticsReporting.V4.Model.ProductData View Source

Details of the products in an e-commerce transaction.

Attributes

  • itemRevenue (type: float(), default: nil) - The total revenue from purchased product items.
  • productName (type: String.t, default: nil) - The product name, supplied by the e-commerce tracking application, for the purchased items.
  • productQuantity (type: String.t, default: nil) - Total number of this product units in the transaction.
  • productSku (type: String.t, default: nil) - Unique code that represents the product.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.AnalyticsReporting.V4.Model.ProductData{
  itemRevenue: float(),
  productName: String.t(),
  productQuantity: String.t(),
  productSku: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.