StateLens Demo

Aggregate Types

StockReservationDecision

The event types this aggregate applies, and what each one carries. Folding a boundary runs these into its state and passes the rest over.

Event Version State
ProductCreated 1
  • IReadOnlyList<string> Keywords
  • string Name
  • PackagedSize Packaging
    • decimal DepthCm
    • decimal HeightCm
    • decimal WeightKg
    • decimal WidthCm
  • decimal Price
  • string ProductId
  • string Sku
  • IReadOnlyList<ProductVariant> Variants
    • string Code
    • string Name
    • decimal PriceDifference
ProductDiscontinued 1
  • string ProductId
  • string Reason
ProductDeleted 1
  • string ProductId
  • string Sku
StockReplenished 1
  • string GoodsInReference
  • string ProductId
  • int Quantity
StockAdjusted 1
  • int Difference
  • string ProductId
  • string Reason
StockReserved 1
  • string OrderId
  • string ProductId
  • int Quantity
StockReservationReleased 1
  • string OrderId
  • string ProductId
  • int Quantity
StockPicked 1
  • string OrderId
  • string ProductId
  • int Quantity
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.