<?php
/**
 * For the full copyright and license information, please view the
 * docs/licenses/LICENSE.txt file that was distributed with this source code.
 */

declare(strict_types=1);

namespace PrestaShop\PrestaShop\Core\Domain\Carrier\CommandHandler;

use PrestaShop\PrestaShop\Core\Domain\Carrier\Command\AddCarrierCommand;
use PrestaShop\PrestaShop\Core\Domain\Carrier\ValueObject\CarrierId;

/**
 * Defines contract for AddCarrierHandler
 */
interface AddCarrierHandlerInterface
{
    /**
     * @param AddCarrierCommand $command
     */
    public function handle(AddCarrierCommand $command): CarrierId;
}
