File "OrderState.php"
Full Path: /home/capoeirajd/www/wp-content/plugins/wpforms-lite/vendor_prefixed/square/square/src/Models/OrderState.php
File size: 859 bytes
MIME-type: text/x-php
Charset: utf-8
<?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';
}