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

namespace PrestaShop\PrestaShop\Core\Domain\Product\CommandHandler;

use PrestaShop\PrestaShop\Core\Domain\Product\Command\DuplicateProductCommand;
use PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId;

/**
 * Defines contract to handle @see DuplicateProductCommand
 */
interface DuplicateProductHandlerInterface
{
    /**
     * @param DuplicateProductCommand $command
     *
     * @return ProductId
     */
    public function handle(DuplicateProductCommand $command): ProductId;
}
