<?php
/**
 * Copyright © 2016 Filoblu S.r.l. All rights reserved.
 */
namespace FiloBlu\Esb\Api;

use FiloBlu\Esb\Api\Data\AcknowledgeInterface;
use Magento\Sales\Api\Data\CreditmemoInterface;

/**
 * @api
 * Interface ExternalCreditmemoInterface
 * @package FiloBlu\Esb\Api
 */
interface ExternalCreditmemoInterface{

    /**
     * Save External credit memo.
     *
     * @param CreditmemoInterface $creditmemoData
     * @return \FiloBlu\Esb\Api\Data\AcknowledgeInterface $ack_data
     *@api
     */
    public function save(CreditmemoInterface $creditmemoData) : AcknowledgeInterface;

}
