ldc-cocotte/app/Enums/FinalizeOrderStatus.php
Jérémy Munsch 4dd7cc82fe
feat(order): add InactiveShopperException handling in order finalization
- Introduced InactiveShopperException to manage inactive shopper scenarios.
- Updated FinalizeOrder and FinalizeOrderOutput to handle new exception.
- Enhanced TunnelController and tests to ensure proper redirection and error handling.
2026-11-15 19:59:17 +01:00

16 lines
273 B
PHP

<?php
declare(strict_types=1);
namespace App\Enums;
enum FinalizeOrderStatus
{
case SUCCESS;
case EXPIRED_TIME_SLOT;
case INACTIVE_SHOPPER;
case UNORDERABLE_PRODUCT;
case ORDER_LIMIT_EXCEEDED;
case WEEKLY_LIMIT_EXCEEDED;
case LOCK_TIMEOUT;
}