File: D:/HostingSpaces/SBogers10/shop.komma.nl/app/Shipments/ShipmentStatus.php
<?php
namespace App\Shipments;
use Komma\KMS\Base\Enum;
//Must match the javascript version
class ShipmentStatus extends Enum
{
const NEW = 'new'; //A freshly created shipment
const READY_TO_SHIP = 'ready_to_ship'; //Ready to ship
const CARRIER_NOTIFIED = 'carrier_notified'; //The carrier is notified that they are going to receive this shipment from the shipper
const IN_TRANSIT = 'in_transit'; //The carrier picked up the package from the shipper. The package is in the internal logistical chain at the carrier.
const OUT_FOR_DELIVERY = 'out_for_delivery'; //The carrier is about to deliver the shipment, or it is ready to get picked up.
const FAILED_ATTEMPT = 'failed_attempt'; //Carrier attempted to deliver but failed, and usually leaves a notice and will try to delivery again.
const EXCEPTION = 'exception'; //Custom hold, undelivered, returned shipment to sender or any shipping exceptions.
const DELIVERED = 'delivered'; //Delivered
const CANCELED = 'canceled'; //Canceled
}