DefaultStockAllocationStrategy
Allocates stock when the Order transitions from ArrangingPayment to either
PaymentAuthorized or PaymentSettled.
- Implements:
StockAllocationStrategy
shouldAllocateStock
method
(ctx: RequestContext, fromState: OrderState, toState: OrderState, order: Order) => boolean | Promise<boolean>Was this chapter helpful?