log Purchase With JSON
fun logPurchaseWithJSON(productId: String?, price: String, currencyCode: String?, quantity: String, propertiesJSON: String?)
Logs a purchase event with the specified product, price, currency, quantity, and optional JSON-encoded properties.
Parameters
product Id
The product identifier.
price
The price as a string representation of a decimal number.
currency Code
The ISO 4217 currency code.
quantity
The quantity purchased as a string representation of an integer.
properties JSON
Optional JSON string of purchase properties.