DemandLine
in package
FinalYes
One requested subject quantity inside a multi-line demand.
A demand line may optionally override the order-level scheduling defaults:
flow: use a different movement flow for this line than the one declared on the surroundingDemandScheduleRequest; useful when some SKUs follow a different sourcing or fulfillment routetarget: use a different destination slot than the request default; useful when lines in the same demand are promised toward different final states or destinationsparams: provide line-scoped flow parameters that are merged over the request-level params; useful when a shared flow template needs different concrete values per line, such as source lane, warehouse, or ownership bucket
Table of Contents
Properties
- $flow : Flow|string|null
- $params : array<string|int, mixed>
- $quantity : int|float
- $subject : mixed
- $target : Slot|string|null
Methods
- __construct() : mixed
- Create one demand line for one subject.
Properties
$flow read-only
public
Flow|string|null
$flow
= null
$params read-only
public
array<string|int, mixed>
$params
= []
$quantity read-only
public
int|float
$quantity
$subject read-only
public
mixed
$subject
$target read-only
public
Slot|string|null
$target
= null
Methods
__construct()
Create one demand line for one subject.
public
__construct(mixed $subject, int|float $quantity[, Flow|non-empty-string|null $flow = null ][, Slot|non-empty-string|null $target = null ][, array<string, scalar|null> $params = [] ]) : mixed
Parameters
- $subject : mixed
-
subject identifier or payload whose quantity is being requested
- $quantity : int|float
-
requested quantity for this subject
- $flow : Flow|non-empty-string|null = null
-
optional flow override for this line
- $target : Slot|non-empty-string|null = null
-
optional target-slot override for this line
- $params : array<string, scalar|null> = []
-
optional line-scoped flow parameters