<?php
/**
* Lof CouponCode is a powerful tool for managing the processing return and exchange requests within your workflow. This, in turn, allows your customers to request and manage returns and exchanges directly from your webstore. The Extension compatible with magento 2.x
* Copyright (C) 2017 Landofcoder.com
*
* This file is part of Lofmp/CouponCode.
*
* Lofmp/CouponCode is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace Lofmp\CouponCode\Api;
interface LogManagementInterface
{
/**
* GET for Log api
*
* @param int $customerId
* @param string $coupon_code
* @param string $email
* @param int $page
* @param int $limit
* @return \Lofmp\CouponCode\Api\Data\LogSearchResultsInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getLog($customerId, $coupon_code, $email, $page = 1, $limit = 20);
/**
* Retrieve Log
* @param string $logId
* @return \Lofmp\CouponCode\Api\Data\LogInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getById($logId);
/**
* Retrieve Log matching the specified criteria.
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
* @return \Lofmp\CouponCode\Api\Data\LogSearchResultsInterface
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function getList(
\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
);
}
|