AdvanceOrderStatus

Use case for advancing the status of an order to the next stage in the order processing workflow.

The use case ensures that the status transition is valid based on the current state of the order and handles any necessary business logic associated with the transition, such as notifying relevant parties or updating related entities.

Inheritors

Types

Link copied to clipboard
sealed interface Result

Represents the result of attempting to advance the order status.

Functions

Link copied to clipboard

Executes the use case to advance the order status.