GetOrderDetails
interface GetOrderDetails
Use case for retrieving the details of a specific order. This interface defines the contract for fetching
Inheritors
Types
Functions
Link copied to clipboard
Executes the use case to retrieve order details based on the provided command. The command contains the necessary information to identify the order, such as the order ID and user ID. The result of the execution is a sealed interface that can represent either a successful retrieval of the order details or a failure scenario where the order was not found.