OnOrderCommands
This hook runs after commands have been applied to an Order Actor from the create or applyCommands message. Commands returned from rules does not trigger the hook again.
For invariants that can only be checked after every OnOrderCommands rule has run and its commands have been applied — for example rules that depend on data set by other rules — use the OnOrderValidate hook instead.
Type
filtrera
{
hook: 'OnOrderCommands'
before: Order // The order before the commands were applied
order: Order // The order after the commands were applied
}