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
RuleRepositoryInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\SalesRule\Api
;
7
14
interface
RuleRepositoryInterface
15
{
25
public
function
save
(\
Magento
\SalesRule\Api\Data\RuleInterface
$rule
);
26
35
public
function
getById
(
$ruleId
);
36
48
public
function
getList
(\
Magento
\Framework\Api\SearchCriteriaInterface
$searchCriteria
);
49
58
public
function
deleteById
(
$ruleId
);
59
}
Magento\SalesRule\Api\RuleRepositoryInterface\deleteById
deleteById($ruleId)
Magento\SalesRule\Api
Definition:
CouponManagementTest.php:7
$rule
$rule
Definition:
rule_by_attribute.php:10
Magento\SalesRule\Api\RuleRepositoryInterface\getById
getById($ruleId)
$searchCriteria
$searchCriteria
Definition:
order_rollback.php:16
$ruleId
$ruleId
Definition:
catalog_rule_10_off_not_logged_rollback.php:17
Magento\SalesRule\Api\RuleRepositoryInterface\save
save(\Magento\SalesRule\Api\Data\RuleInterface $rule)
Magento
Magento\SalesRule\Api\RuleRepositoryInterface\getList
getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria)
Magento\SalesRule\Api\RuleRepositoryInterface
Definition:
RuleRepositoryInterface.php:14