report Purchase
open override fun reportPurchase(items: List<PurchasedItem>, id: String, opaqueUserId: String? = null, occurredAt: String? = null, deviceType: Device? = null, channel: Channel? = null, page: Page? = null)(source)
Reports a purchase event.
Parameters
items
the list of purchased items
id
The marketplace assigned ID for the order
opaque User Id
The opaque user ID which allows correlating user activity.
occurred At
RFC3339 formatted timestamp including UTC offset. Defaults to DateTime() when null
device Type
Optional device type
channel
Optional channel
page
Optional page context where the purchase occurred