PurchasedItem

data class PurchasedItem(val productId: String, @IntRange(from = 1) val quantity: Int, @IntRange(from = 1) val unitPrice: Int? = null, val resolvedBidId: String? = null, val vendorId: String? = null)(source)

Constructors

Link copied to clipboard
constructor(productId: String, @IntRange(from = 1) quantity: Int, @IntRange(from = 1) unitPrice: Int? = null, resolvedBidId: String? = null, vendorId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The marketplace ID of the product being purchased

Link copied to clipboard
Link copied to clipboard

If known, the product's auction ID if the consumer clicked on a promoted link before purchasing

Link copied to clipboard

Unit price in the smallest currency unit (e.g., cents for USD). Example: 1295 = $12.95

Link copied to clipboard

The vendor ID for halo attribution. Used to attribute purchases to vendors when applicable.

Functions

Link copied to clipboard