Purchase
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"planId": string,
"transactionId": string,
"transactionMessage": string,
"confirmationCode": string,
"planActivationTime": string
} |
字段 |
planId |
string
所购方案的 ID。
|
transactionId |
string
购买请求中的交易 ID。
|
transactionMessage |
string
交易完成后要向用户显示的消息。
|
confirmationCode |
string
DPA 为成功交易生成了确认码。Google 助理集成所必需的。
|
planActivationTime |
string (Timestamp format)
方案激活时间。如果缺少 planActivationTime,则 GTAF 应假定相应方案已激活。 时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z" 和 "2014-10-02T15:01:23.045123456Z" 。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[],["The JSON represents a purchase message with details of a purchased plan. Key information includes the `planId`, `transactionId`, and a `transactionMessage` for the user. A `confirmationCode` is provided for successful transactions. The `planActivationTime` indicates when the plan activates, defaulting to immediate if absent. All fields are strings except for the timestamp format of `planActivationTime` in RFC3339 UTC \"Zulu\" format.\n"]]