Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-sales-rule
Api
CouponRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\SalesRule\Api
;
7
14
interface
CouponRepositoryInterface
15
{
25
public
function
save
(\
Magento
\SalesRule\Api\Data\CouponInterface
$coupon
);
26
35
public
function
getById
($couponId);
36
48
public
function
getList
(\
Magento
\Framework\Api\SearchCriteriaInterface
$searchCriteria
);
49
58
public
function
deleteById
($couponId);
59
}
Magento\SalesRule\Api
Definition:
CouponManagementTest.php:7
$coupon
$coupon
Definition:
fixed_discount.php:34
Magento\SalesRule\Api\CouponRepositoryInterface\getById
getById($couponId)
Magento\SalesRule\Api\CouponRepositoryInterface\getList
getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
$searchCriteria
$searchCriteria
Definition:
order_rollback.php:16
Magento
Magento\SalesRule\Api\CouponRepositoryInterface\save
save(\Magento\SalesRule\Api\Data\CouponInterface $coupon)
Magento\SalesRule\Api\CouponRepositoryInterface
Definition:
CouponRepositoryInterface.php:14
Magento\SalesRule\Api\CouponRepositoryInterface\deleteById
deleteById($couponId)