Transaction API 将于 2023 年 5 月 3 日弃用,在此之前,会话操作将于 2023 年 6 月 13 日停用。如需了解详情,请参阅
对话型 Action 停用。
PurchaseStatus
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
PURCHASE_STATUS_UNSPECIFIED |
状态不明。 |
READY_FOR_PICKUP |
可随时取货。 |
SHIPPED |
已发货。 |
DELIVERED |
已送达。 |
OUT_OF_STOCK |
无货。 |
IN_PREPARATION |
“IN_PREPARATION”在不同情况下可能有不同的含义。对于 FOOD 订单,食物可能正在准备中。对于 Retail 来说,商品可能是正在包装的商品。 |
CREATED |
订单已创建。 |
CONFIRMED |
商家已确认订单。 |
REJECTED |
商家拒绝了订单或订单项。 |
RETURNED |
用户退回了商品。 |
CANCELLED |
用户已取消了订单或订单项。 |
CHANGE_REQUESTED |
用户已请求更改订单,集成商正在处理此更改。处理完请求后,订单应移至其他状态。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003ePurchase status values provide insights into the stage of an order, from creation and confirmation to shipping, delivery, and potential issues like cancellations or returns.\u003c/p\u003e\n"],["\u003cp\u003eStatuses like "IN_PREPARATION", "READY_FOR_PICKUP", "SHIPPED", and "DELIVERED" specifically track the fulfillment process of an order.\u003c/p\u003e\n"],["\u003cp\u003e"OUT_OF_STOCK" and "REJECTED" highlight potential roadblocks in fulfilling an order or line item.\u003c/p\u003e\n"],["\u003cp\u003eStatuses such as "CANCELLED", "RETURNED", and "CHANGE_REQUESTED" indicate actions taken by the user or changes in the order's progress.\u003c/p\u003e\n"],["\u003cp\u003eThe "PURCHASE_STATUS_UNSPECIFIED" value acts as a default or placeholder when a more specific status isn't yet determined.\u003c/p\u003e\n"]]],["The core content details purchase order statuses, which include `CREATED`, `CONFIRMED`, and `REJECTED`. Items can be `IN_PREPARATION` (e.g., being packaged or food being prepared), `READY_FOR_PICKUP`, `SHIPPED`, `DELIVERED`, or `OUT_OF_STOCK`. Users can `CANCELLED` an order, request `CHANGE_REQUESTED`, or a `RETURNED` item. There's also an `PURCHASE_STATUS_UNSPECIFIED` for unknown statuses. These states track the progression of a purchase from creation to completion or cancellation.\n"],null,["# PurchaseStatus\n\nPurchase status associated with a purchase order or a particular line item.\n\n| Enums ||\n|-------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PURCHASE_STATUS_UNSPECIFIED` | Status unspecified. |\n| `READY_FOR_PICKUP` | Ready for pick up. |\n| `SHIPPED` | Shipped. |\n| `DELIVERED` | Delivered. |\n| `OUT_OF_STOCK` | Out of stock. |\n| `IN_PREPARATION` | \"IN_PREPARATION\" could have different meaning in different context. For FOOD order it could be food is being prepared. For Retail, it could be an item is being packaged. |\n| `CREATED` | Order is created. |\n| `CONFIRMED` | The merchant confirmed the order. |\n| `REJECTED` | Merchant rejected the order or line item. |\n| `RETURNED` | The Item was returned by user. |\n| `CANCELLED` | The order or line item was cancelled by user. |\n| `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. |"]]