* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Order\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Order\Command\AddOrderFromBackOfficeCommand; use PrestaShop\PrestaShop\Core\Domain\Order\ValueObject\OrderId; /** * Interface for service that adds new order. */ interface AddOrderFromBackOfficeHandlerInterface { /** * @param AddOrderFromBackOfficeCommand $command * * @return OrderId */ public function handle(AddOrderFromBackOfficeCommand $command); }