<?php

declare(strict_types=1);

namespace Gls\GlsPoland\MessageHandler\Consignment;

use Gls\GlsPoland\Entity\Consignment;
use Gls\GlsPoland\Message\CreateConsignmentCommand;
use Gls\GlsPoland\PrestaShop\MessageHandler\CommandHandlerInterface;

interface CreateConsignmentHandlerInterface extends CommandHandlerInterface
{
    public function handle(CreateConsignmentCommand $command): Consignment;
}
