16 lines
551 B
PHP
16 lines
551 B
PHP
<?php
|
|
|
|
namespace App\Enums\Order;
|
|
|
|
/**
|
|
* Open -> The order was placed or created. There is work to do for the order, which can include processing payment, fulfilling, or processing returns.
|
|
* Archived -> The order was manually or automatically archived. Usually, this means the order was fulfilled.
|
|
* Canceled -> The order was canceled. If a canceled order was not fully refunded, then there might be work remaining for the order.
|
|
*/
|
|
enum OrderStatus: string
|
|
{
|
|
case Open = 'open';
|
|
case Archived = 'archived';
|
|
case Closed = 'closed';
|
|
}
|