Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
forbidals
/
wp-content
/
plugins
/
wpforms-lite
/
vendor_prefixed
/
square
/
square
/
src
/
Models
:
OrderState.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare (strict_types=1); namespace WPForms\Vendor\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'; }