<?php

namespace FiloBlu\Esb\Api\Data;

use Magento\Customer\Api\Data\CustomerInterface;
use Magento\Customer\Model\Backend\Customer;

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