google_api_analytics_reporting v0.2.0 GoogleApi.AnalyticsReporting.V4.Model.EcommerceData View Source

E-commerce details associated with the user activity.

Attributes

  • actionType (String.t): Action associated with this e-commerce action. Defaults to: null.

    • Enum - one of [UNKNOWN, CLICK, DETAILS_VIEW, ADD_TO_CART, REMOVE_FROM_CART, CHECKOUT, PAYMENT, REFUND, CHECKOUT_OPTION]
  • ecommerceType (String.t): The type of this e-commerce activity. Defaults to: null.

    • Enum - one of [ECOMMERCE_TYPE_UNSPECIFIED, CLASSIC, ENHANCED]
  • products ([ProductData]): Details of the products in this transaction. Defaults to: null.
  • transaction (TransactionData): Transaction details of this e-commerce action. Defaults to: null.

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.EcommerceData{
  actionType: any(),
  ecommerceType: any(),
  products: [GoogleApi.AnalyticsReporting.V4.Model.ProductData.t()],
  transaction: GoogleApi.AnalyticsReporting.V4.Model.TransactionData.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.