StockState

The state of a Stock, changed in place by its events: the units onHand, those reserved for each order, and the units still available to reserve. Every property has a value before the first event.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
var onHand: Int
Link copied to clipboard

The units reserved for each order not yet shipped or cancelled, by the order's id.

Functions

Link copied to clipboard