SlotFlow API Documentation

PlannedStep
in package

FinalYes

One planned timeless movement.

Table of Contents

Properties

$edge  : MovementEdge
$id  : string
$policies  : array<string|int, mixed>
$quantity  : int|float

Methods

__construct()  : mixed
Create one timeless planned movement step.
deltas()  : array<int, QuantityStateDelta>
Convert this planned step into quantity-state deltas.
plannerRules()  : array<int, PlannerRuleInterface>
Return the planner rules applicable to the planned step.
policies()  : array<int, PolicyInterface>
Return all applicable policies for the planned step, merging step first and edge second.
shipmentCalendarRules()  : array<int, ShipmentCalendarRuleInterface>
Return shipment calendar rules applicable to the planned step.
withQuantity()  : self
Return a copy of this step with a different planned quantity.

Properties

$policies read-only

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

Methods

withQuantity()

Return a copy of this step with a different planned quantity.

public withQuantity(int|float $quantity) : self
Parameters
$quantity : int|float
Return values
self

        
On this page

Search results