StockReservationStatus
in package
Stock reservation statuses (cms_mod_store_stock_reservations.status). Rows are never deleted — status changes keep the audit trail and idempotence per source ref.
Single canonical copy shared by all Store layers.
Table of Contents
Constants
- ACTIVE : mixed = 1
- CONFIRMED : mixed = 2
- EXPIRED : mixed = 4
- RELEASED : mixed = 3
- STATUS_NAMES : array<int, string> = [self::ACTIVE => 'Active', self::CONFIRMED => '...
Methods
- getStatusName() : string|null
Constants
ACTIVE
public
mixed
ACTIVE
= 1
CONFIRMED
public
mixed
CONFIRMED
= 2
EXPIRED
public
mixed
EXPIRED
= 4
RELEASED
public
mixed
RELEASED
= 3
STATUS_NAMES
public
array<int, string>
STATUS_NAMES
= [self::ACTIVE => 'Active', self::CONFIRMED => 'Confirmed', self::RELEASED => 'Released', self::EXPIRED => 'Expired']
Methods
getStatusName()
public
static getStatusName(int $status) : string|null
Parameters
- $status : int