Type Table Event productList Revision Release 2024.3703 Keywords Google, IAP, in-app purchases, productList, products See also productList store.*
Lua array (table) where each element is itself a Lua table containing the following product information:
productIdentifier
— A string representing the product identifier.
title
— A string representing the product title.
description
— A string representing the product description.
localizedPrice
— The product price as a localized currency string, for example $0.99
.
priceAmountMicros
— Price (string) in
priceCurrencyCode
— ISO 4217 currency code for the price, for example "GBP"
if the price is specified in British pounds sterling.
originalJson
— A JSON-formatted string representation of the product details.
Field originalJson
contains json encoded values. Here is the table for all of its fields and how they correspond to products array entries.
Products entry field | Original JSON field | Notes |
---|---|---|
title |
title |
|
description |
description |
|
localizedPrice |
price |
|
productIdentifier |
productId |
|
type |
type |
|
priceAmountMicros |
price_amount_micros |
JSON field is integer |
priceCurrencyCode |
price_currency_code |
|
originalJson |
JSON doesn’t contain itself | |
freeTrialPeriod |
||
iconUrl |
||
introductoryPrice |
||
introductoryPriceAmountMicros |
Integer | |
introductoryPriceCycles |
Integer | |
introductoryPricePeriod |
||
original_price |
Optional | |
original_price_micros |
Integer, optional | |
packageName |
||
skuDetailsToken |
||
subscriptionPeriod |