<?php
namespace FiloBlu\Esb\Api\Data;

use Magento\Sales\Api\Data\CreditmemoInterface;

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