DemandSchedule
in package
FinalYes
Immutable summary of one multi-line demand scheduling run.
Table of Contents
Properties
- $lines : array<string|int, mixed>
- Per-line schedules for the requested demand.
- $shipments : array<string|int, mixed>
- Planned shipment releases derived from the line schedules.
Methods
- __construct() : mixed
- Create one multi-line demand schedule result.
- completeTime() : int|null
- Return the final planned shipment release time, if any.
- firstShipmentTime() : int|null
- Return the first planned shipment release time, if any.
- isComplete() : bool
- Return true when every demand line is fully scheduled.
Properties
$lines read-only
Per-line schedules for the requested demand.
public
array<string|int, mixed>
$lines
$shipments read-only
Planned shipment releases derived from the line schedules.
public
array<string|int, mixed>
$shipments
Methods
__construct()
Create one multi-line demand schedule result.
public
__construct(array<int, DemandLineSchedule> $lines, array<int, DemandShipment> $shipments) : mixed
Parameters
- $lines : array<int, DemandLineSchedule>
- $shipments : array<int, DemandShipment>
completeTime()
Return the final planned shipment release time, if any.
public
completeTime() : int|null
Return values
int|nullfirstShipmentTime()
Return the first planned shipment release time, if any.
public
firstShipmentTime() : int|null
Return values
int|nullisComplete()
Return true when every demand line is fully scheduled.
public
isComplete() : bool