execute

open override fun execute(command: PlaceOrderCommand): PlaceOrder.Result

Executes the place order use case.

Return

A Result indicating the outcome of the operation, which can be either success with the created order details or failure with specific reasons.

Parameters

command

The command containing the necessary information to place the order.