SlotFlow API Documentation

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 surrounding DemandScheduleRequest; useful when some SKUs follow a different sourcing or fulfillment route
  • target: use a different destination slot than the request default; useful when lines in the same demand are promised toward different final states or destinations
  • params: 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

$params read-only

public array<string|int, mixed> $params = []

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


        
On this page

Search results