<?php

namespace FiloBlu\Esb\Model\Producer;

use FiloBlu\Esb\Api\Data\MessageInterface;
use FiloBlu\Esb\Api\Data\OrderProducerInterface;
use FiloBlu\Esb\Framework\Producer\AbstractProducer;
use Magento\Sales\Api\Data\OrderInterface;

/**
 * Class AbstractOrderProducer
 * @package FiloBlu\Esb\Model\Producer
 */
abstract class AbstractOrderProducer extends AbstractProducer implements OrderProducerInterface
{
    /**
     * @inheritDoc
     */
    abstract public function produce(OrderInterface $order = null) : MessageInterface;
}
