OrderState
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"state": string,
"label": string
} |
字段 |
state |
string
状态可以是以下值之一: CREATED :订单是在集成商系统中创建的。REJECTED :集成商拒绝了订单。CONFIRMED :订单已由集成商确认,并且处于有效状态。CANCELLED :用户取消了订单。IN_TRANSIT :正在配送订单。RETURNED :用户退货。FULFILLED :用户已收到订购的商品。CHANGE_REQUESTED :用户已请求更改订单,集成商正在处理此更改。请求处理完毕后,订单应移至其他状态。
必填。
|
label |
string
状态的用户可见字符串。必填。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis JSON representation describes the current order state and is deprecated, with a recommendation to use V3 Proto instead.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estate\u003c/code\u003e field, a required string, indicates the order's current status, such as created, rejected, confirmed, cancelled, in transit, returned, fulfilled, or change requested.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elabel\u003c/code\u003e field, also a required string, provides a user-friendly representation of the order state for display purposes.\u003c/p\u003e\n"]]],[],null,["# OrderState\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\n| This item is deprecated!\nDeprecated: Use V3 Proto instead. Current order state.\n\n| JSON representation ||\n|----------------------------------------------|---|\n| ``` { \"state\": string, \"label\": string } ``` |\n\n| Fields ||\n|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `state` | `string` state can be one of the following values: `CREATED`: Order was created at integrator's system. `REJECTED`: Order was rejected by integrator. `CONFIRMED`: Order was confirmed by the integrator and is active. `CANCELLED`: User cancelled the order. `IN_TRANSIT`: Order is being delivered. `RETURNED`: User did a return. `FULFILLED`: User received what was ordered. `CHANGE_REQUESTED`: User has requested a change to the order, and the integrator is processing this change. The order should be moved to another state after the request is handled. Required. |\n| `label` | `string` The user-visible string for the state. Required. |"]]