RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

PendingOrderHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.OrderContext.Order.Pending.PendingOrderHandler
View Source LinkOrder.riddl(114:15)

OnMessageClause command CreateOrder

Statements

\nerror "Order has already been created."\n

OnMessageClause command UpdateOrderInfo

Statements

\n"copy fields from the UpdateOrderInfo command into the Draft Order""adjust meta fields to reflect the change set""yield OrderInfoUpdated event"\n

OnMessageClause command SetToPendingOrder

Statements

\nerror "Pending orders may not transition to the Pending state"\n

OnMessageClause command SetToInProcessOrder

Statements

\n"morph order to InProcess state""adjust meta fields to reflect change set""yield InProcessOrderSet event"\n

OnMessageClause command SetToReadyOrder

Statements

\nerror "Pending orders may not transition to the Ready state"\n

OnMessageClause command DeliverOrder

Statements

\nerror "Pending orders may not transition to the Delivered state"\n

OnMessageClause command CancelOrder

Statements

\n"morph order to Cancelled state""adjust meta fields to reflect change set""yield OrderCancelled event"\n

OnMessageClause query GetOrderInfo

Statements

\n"yield OrderInfoResult message"\n

Used By None

Uses Nothing