<?php

namespace FiloBlu\Esb\Api\Data;

use Magento\Catalog\Model\Product;

/**
 * Interface ProductProducerInterface
 * @package FiloBlu\Esb\Api\Data
 */
interface ProductProducerInterface extends ProducerInterface
{
    /**
     * @param Product|null $product
     * @return MessageInterface
     */
    public function produce(Product $product = null): MessageInterface;
}
