View Source GoogleApi.AnalyticsReporting.V4.Model.ProductData (google_api_analytics_reporting v0.18.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.ProductData{
  itemRevenue: float() | nil,
  productName: String.t() | nil,
  productQuantity: String.t() | nil,
  productSku: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.