* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\Command\AddSpecificPriceCommand; use PrestaShop\PrestaShop\Core\Domain\Product\SpecificPrice\ValueObject\SpecificPriceId; /** * Interface for handling AddProductSpecificPriceCommand command */ interface AddSpecificPriceHandlerInterface { /** * @param AddSpecificPriceCommand $command * * @return SpecificPriceId */ public function handle(AddSpecificPriceCommand $command): SpecificPriceId; }