Order
Represents an order in the system, which can be of different types (Delivery, Takeaway, DineIn).
Inheritors
Types
Link copied to clipboard
Represents the result of attempting to advance the status of an order.
Link copied to clipboard
Represents the result of attempting to cancel an order.
Link copied to clipboard
Represents possible validation errors for order items.
Link copied to clipboard
Represents the result of attempting to update the items in an order.
Properties
Functions
Link copied to clipboard
Cancels the order if it is in a cancellable state.
Link copied to clipboard
Advances the status of the order to the next logical state.
Link copied to clipboard
Converts an Order domain model to an OrderDocument for persistence.
Link copied to clipboard
Updates the items in the order after validating them.