Rule Hook
OnSkuBeforeCreated
Back to IndexThis hook runs before any command have been applied to a Sku Actor from the create
message.
Commands returned will be applied to the sku before the create
message’s commands.
Type
{ hook: 'OnSkuBeforeCreated' sku: Sku}
Effects
Sends a message to another actor after the payment has been saved. Responses from the target actor is ignored.messageActor
Aborts the creation of the sku and returns the error to the caller.validationError
Applies a command to the actor.skuCommand