DiscardOrder

interface DiscardOrder

Use case for discarding an order. This is typically used when a customer wants to cancel an order that has not yet been processed.

Inheritors

Types

Link copied to clipboard
sealed interface Result

Represents the result of the discard order operation. It can be either a success or a failure with specific reasons.

Functions

Link copied to clipboard

Executes the discard order use case.