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

E-commerce details associated with the user activity.

Attributes

  • actionType (type: String.t, default: nil) - Action associated with this e-commerce action.
  • ecommerceType (type: String.t, default: nil) - The type of this e-commerce activity.
  • products (type: list(GoogleApi.AnalyticsReporting.V4.Model.ProductData.t), default: nil) - Details of the products in this transaction.
  • transaction (type: GoogleApi.AnalyticsReporting.V4.Model.TransactionData.t, default: nil) - Transaction details of this e-commerce action.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.EcommerceData{
  actionType: String.t() | nil,
  ecommerceType: String.t() | nil,
  products: [GoogleApi.AnalyticsReporting.V4.Model.ProductData.t()] | nil,
  transaction: GoogleApi.AnalyticsReporting.V4.Model.TransactionData.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.