Product

data class Product(val name: String?, val id: String?, val currency: String?, val quantity: Int?, val feeTotal: Double?, val basePrice: Double?, val majorCategory: String?, val ticketType: String?)

Represents product details for Google Analytics tracking.

Holds information about a product, such as name, ID, and pricing.

Constructors

Link copied to clipboard
constructor(name: String?, id: String?, currency: String?, quantity: Int?, feeTotal: Double?, basePrice: Double?, majorCategory: String?, ticketType: String?)

Properties

Link copied to clipboard

The base price, if available.

Link copied to clipboard

The currency, if available.

Link copied to clipboard

The total fees, if available.

Link copied to clipboard
val id: String?

The product ID, if available.

Link copied to clipboard

The major category, if available.

Link copied to clipboard
val name: String?

The product name, if available.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The product quantity, if available.

Link copied to clipboard

The ticket type, if available.