✏️ 编辑:OrderState.php
路径:
/home/forge/woocommerce-square/vendor/square/square/src/Models/OrderState.php
大小:847 B · 修改:2025-12-23 20:26:26 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
<?php declare(strict_types=1); namespace Square\Models; /** * The state of the order. */ class OrderState { /** * Indicates that the order is open. Open orders can be updated. */ public const OPEN = 'OPEN'; /** * Indicates that the order is completed. Completed orders are fully paid. This is a terminal state. */ public const COMPLETED = 'COMPLETED'; /** * Indicates that the order is canceled. Canceled orders are not paid. This is a terminal state. */ public const CANCELED = 'CANCELED'; /** * Indicates that the order is in a draft state. Draft orders can be updated, * but cannot be paid or fulfilled. * For more information, see [Create Orders](https://developer.squareup.com/docs/orders-api/create- * orders). */ public const DRAFT = 'DRAFT'; }
💾 保存
取消
保存为 UTF-8,换行统一为 LF