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

use Magento\Customer\Model\Address\AddressModelInterface as AddressInterface;

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