<?php

namespace FiloBlu\Esb\Model\Producer;

use FiloBlu\Esb\Api\Data\MessageInterface;
use FiloBlu\Esb\Api\Data\CreditmemoProducerInterface;
use FiloBlu\Esb\Framework\Producer\AbstractProducer;
use Magento\Sales\Api\Data\CreditmemoInterface;

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