DemandShipment
in package
FinalYes
One planned shipment release containing one or more demand lines.
Table of Contents
Properties
- $lines : array<string|int, mixed>
- Shipment line quantities included in this release.
- $releaseTime : int
- Release time for this shipment on the normalized time axis.
Methods
- __construct() : mixed
- Create one planned shipment release.
- totalQuantity() : int|float
- Return the total quantity included in this shipment across all lines.
Properties
$lines read-only
Shipment line quantities included in this release.
public
array<string|int, mixed>
$lines
$releaseTime read-only
Release time for this shipment on the normalized time axis.
public
int
$releaseTime
Methods
__construct()
Create one planned shipment release.
public
__construct(int $releaseTime, array<int, DemandShipmentLine> $lines) : mixed
Parameters
- $releaseTime : int
- $lines : array<int, DemandShipmentLine>
totalQuantity()
Return the total quantity included in this shipment across all lines.
public
totalQuantity() : int|float