类型 表 事件 productList 修订 发行版 2024.3703 关键字 Google、IAP、应用内购买、productList、products 另请参见 productList store.*
Lua 数组 (表),其中每个元素本身都是包含以下产品信息的 Lua 表
字段 originalJson
包含 JSON 编码的值。下表列出了所有字段以及它们与 products 数组项之间的对应关系。
产品项字段 | 原始 JSON 字段 | 说明 |
---|---|---|
title |
title |
|
description |
description |
|
localizedPrice |
price |
|
productIdentifier |
productId |
|
type |
type |
|
priceAmountMicros |
price_amount_micros |
JSON 字段为整数 |
priceCurrencyCode |
price_currency_code |
|
originalJson |
JSON 不包含自身 | |
freeTrialPeriod |
||
iconUrl |
||
introductoryPrice |
||
introductoryPriceAmountMicros |
整数 | |
introductoryPriceCycles |
整数 | |
introductoryPricePeriod |
||
original_price |
可选 | |
original_price_micros |
整数,可选 | |
packageName |
||
skuDetailsToken |
||
subscriptionPeriod |