Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
OrderRequestHeader
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis documentation details the common header structure for order request messages, specifically focusing on the JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe header utilizes the \u003ccode\u003eisInSandbox\u003c/code\u003e field, a boolean value indicating whether the order is a sandbox test order or a real order intended for processing.\u003c/p\u003e\n"],["\u003cp\u003eSandbox orders, identified by \u003ccode\u003eisInSandbox\u003c/code\u003e being true, should not be financially charged or physically fulfilled.\u003c/p\u003e\n"]]],["The core content describes a JSON header for order request messages, specifically the `isInSandbox` field. This field, a required boolean, signals whether the order is a test or \"sandbox\" order. When `isInSandbox` is true, the order should not be charged or fulfilled, indicating it's for testing purposes. The header is applicable to all order request messages.\n"],null,["# OrderRequestHeader\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nCommon header for all order request messages.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"isInSandbox\": boolean } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------|\n| `isInSandbox` | `boolean` Required: When true, indicates that this is a sandbox order, which should not be charged and fulfilled. |"]]