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

Represents details collected when the visitor performs a transaction on the page.

Attributes

  • transactionId (type: String.t, default: nil) - The transaction ID, supplied by the e-commerce tracking method, for the purchase in the shopping cart.
  • transactionRevenue (type: float(), default: nil) - The total sale revenue (excluding shipping and tax) of the transaction.
  • transactionShipping (type: float(), default: nil) - Total cost of shipping.
  • transactionTax (type: float(), default: nil) - Total tax for the transaction.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AnalyticsReporting.V4.Model.TransactionData{
  transactionId: String.t() | nil,
  transactionRevenue: float() | nil,
  transactionShipping: float() | nil,
  transactionTax: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.