CompletePurchaseValue
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
包含数字应用内商品的 SKU 详情。返回到 Action,作为以下项的输出:
actions.type.CompletePurchaseValue
。
JSON 表示法 |
{
"purchaseStatus": enum (PurchaseStatus ),
"orderId": string,
"purchaseToken": string
} |
字段 |
purchaseStatus |
enum (PurchaseStatus )
当前购买交易的状态。
|
orderId |
string
交易的唯一订单标识符。此标识符对应于 Google 提供的订单 ID。
|
purchaseToken |
string
一个不透明令牌,用于唯一标识给定商品和用户对的购买交易。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis document outlines the JSON representation of sku details for digital in-app goods, used as output for \u003ccode\u003eactions.type.CompletePurchaseValue\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON response includes \u003ccode\u003epurchaseStatus\u003c/code\u003e, \u003ccode\u003eorderId\u003c/code\u003e, and \u003ccode\u003epurchaseToken\u003c/code\u003e fields providing details about the purchase status, a unique order ID, and a purchase token for the specific item and user.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epurchaseStatus\u003c/code\u003e uses the \u003ccode\u003ePurchaseStatus\u003c/code\u003e enum to indicate the current state of the purchase, while \u003ccode\u003eorderId\u003c/code\u003e corresponds to the Google-provided order ID for the transaction.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epurchaseToken\u003c/code\u003e is a unique identifier linking a specific purchase to a particular item and user, ensuring clear tracking and management of digital goods.\u003c/p\u003e\n"]]],[],null,["# CompletePurchaseValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nContains sku details for digital in-app goods. Returned to the Action as output for\n`actions.type.CompletePurchaseValue`.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------|---|\n| ``` { \"purchaseStatus\": enum (`PurchaseStatus`), \"orderId\": string, \"purchaseToken\": string } ``` |\n\n| Fields ||\n|------------------|----------------------------------------------------------------------------------------------------------------------|\n| `purchaseStatus` | `enum (``PurchaseStatus``)` Status of current purchase. |\n| `orderId` | `string` A unique order identifier for the transaction. This identifier corresponds to the Google provided order ID. |\n| `purchaseToken` | `string` A opaque token that uniquely identifies a purchase for a given item and user pair. |"]]