ekart/backend/app/Enums/OrderStatus.php
2026-03-18 18:59:45 +05:30

16 lines
545 B
PHP

<?php
namespace App\Enums;
/**
* 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';
}