ShipmentWaveCalendarRule
in package
implements
ShipmentCalendarRuleInterface
FinalYes
Delay shipment release until the next recurring shipment wave.
This is useful for modeled edges whose completed movement can only hand over to a carrier or locker on fixed daily or periodic waves.
Table of Contents
Interfaces
- ShipmentCalendarRuleInterface
- Planner rule that delays shipment release or handover times for a line.
Properties
Methods
- __construct() : mixed
- Create one recurring shipment-wave rule.
- releaseTime() : int
- Return the next release time aligned to this rule's recurring wave.
Properties
$interval read-only
public
int
$interval
$offset read-only
public
int
$offset
= 0
Methods
__construct()
Create one recurring shipment-wave rule.
public
__construct(int $interval[, int $offset = 0 ]) : mixed
Parameters
- $interval : int
- $offset : int = 0
Tags
releaseTime()
Return the next release time aligned to this rule's recurring wave.
public
releaseTime(DemandReleaseContext $context, DemandShipmentLine $line, ScheduledStep $step, int $earliestReleaseTime) : int
Parameters
- $context : DemandReleaseContext
- $line : DemandShipmentLine
- $step : ScheduledStep
- $earliestReleaseTime : int
Attributes
- #[Override]