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-catalog-rule
Api
Data
RuleInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\CatalogRule\Api\Data
;
7
12
interface
RuleInterface
extends
\Magento\Framework\Api\CustomAttributesDataInterface
13
{
17
const
RULE_ID
=
'rule_id'
;
18
19
const
NAME
=
'name'
;
20
21
const
DESCRIPTION
=
'description'
;
22
23
const
IS_ACTIVE
=
'is_active'
;
24
25
const
STOP_RULES_PROCESSING
=
'stop_rules_processing'
;
26
27
const
SORT_ORDER
=
'sort_order'
;
28
29
const
SIMPLE_ACTION
=
'simple_action'
;
30
31
const
DISCOUNT_AMOUNT
=
'discount_amount'
;
32
41
public
function
getRuleId
();
42
48
public
function
setRuleId
(
$ruleId
);
49
56
public
function
getName
();
57
63
public
function
setName
(
$name
);
64
71
public
function
getDescription
();
72
78
public
function
setDescription
(
$description
);
79
86
public
function
getIsActive
();
87
93
public
function
setIsActive
($isActive);
94
101
public
function
getRuleCondition
();
102
108
public
function
setRuleCondition
($condition);
109
116
public
function
getStopRulesProcessing
();
117
123
public
function
setStopRulesProcessing
($isStopProcessing);
124
131
public
function
getSortOrder
();
132
138
public
function
setSortOrder
($sortOrder);
139
146
public
function
getSimpleAction
();
147
153
public
function
setSimpleAction
($action);
154
161
public
function
getDiscountAmount
();
162
168
public
function
setDiscountAmount
(
$amount
);
169
176
public
function
getExtensionAttributes
();
177
185
public
function
setExtensionAttributes
(\
Magento
\CatalogRule\Api\Data\RuleExtensionInterface
$extensionAttributes
);
186
}
$description
$description
Definition:
pre_composer_update_2.3.php:162
Magento\CatalogRule\Api\Data\RuleInterface\setStopRulesProcessing
setStopRulesProcessing($isStopProcessing)
Magento\CatalogRule\Api\Data\RuleInterface\SORT_ORDER
const SORT_ORDER
Definition:
RuleInterface.php:27
Magento\CatalogRule\Api\Data\RuleInterface\setRuleCondition
setRuleCondition($condition)
Magento\CatalogRule\Api\Data\RuleInterface\getExtensionAttributes
getExtensionAttributes()
Magento\CatalogRule\Api\Data\RuleInterface\setSimpleAction
setSimpleAction($action)
Magento\CatalogRule\Api\Data\RuleInterface\RULE_ID
const RULE_ID
Definition:
RuleInterface.php:17
Magento\CatalogRule\Api\Data\RuleInterface\DESCRIPTION
const DESCRIPTION
Definition:
RuleInterface.php:21
Magento\CatalogRule\Api\Data\RuleInterface\getName
getName()
Magento\CatalogRule\Api\Data\RuleInterface\setSortOrder
setSortOrder($sortOrder)
Magento\CatalogRule\Api\Data\RuleInterface\setExtensionAttributes
setExtensionAttributes(\Magento\CatalogRule\Api\Data\RuleExtensionInterface $extensionAttributes)
Magento\CatalogRule\Api\Data\RuleInterface\setDescription
setDescription($description)
$amount
$amount
Definition:
order.php:14
$ruleId
$ruleId
Definition:
catalog_rule_10_off_not_logged_rollback.php:17
Magento\CatalogRule\Api\Data\RuleInterface\getSimpleAction
getSimpleAction()
Magento\CatalogRule\Api\Data\RuleInterface\STOP_RULES_PROCESSING
const STOP_RULES_PROCESSING
Definition:
RuleInterface.php:25
Magento\CatalogRule\Api\Data\RuleInterface\SIMPLE_ACTION
const SIMPLE_ACTION
Definition:
RuleInterface.php:29
Magento\CatalogRule\Api\Data\RuleInterface\getDiscountAmount
getDiscountAmount()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento\CatalogRule\Api\Data\RuleInterface\getRuleCondition
getRuleCondition()
Magento\CatalogRule\Api\Data\RuleInterface\setName
setName($name)
Magento
Magento\CatalogRule\Api\Data\RuleInterface\DISCOUNT_AMOUNT
const DISCOUNT_AMOUNT
Definition:
RuleInterface.php:31
Magento\Framework\Api\CustomAttributesDataInterface
Definition:
CustomAttributesDataInterface.php:15
Magento\CatalogRule\Api\Data\RuleInterface\IS_ACTIVE
const IS_ACTIVE
Definition:
RuleInterface.php:23
Magento\CatalogRule\Api\Data\RuleInterface\NAME
const NAME
Definition:
RuleInterface.php:19
Magento\CatalogRule\Api\Data
Definition:
ConditionInterface.php:6
Magento\CatalogRule\Api\Data\RuleInterface\setIsActive
setIsActive($isActive)
Magento\CatalogRule\Api\Data\RuleInterface\setRuleId
setRuleId($ruleId)
Magento\CatalogRule\Api\Data\RuleInterface\getStopRulesProcessing
getStopRulesProcessing()
Magento\CatalogRule\Api\Data\RuleInterface\getDescription
getDescription()
Magento\CatalogRule\Api\Data\RuleInterface\getSortOrder
getSortOrder()
Magento\CatalogRule\Api\Data\RuleInterface\getRuleId
getRuleId()
Magento\CatalogRule\Api\Data\RuleInterface
Definition:
RuleInterface.php:12
Magento\CatalogRule\Api\Data\RuleInterface\getIsActive
getIsActive()
Magento\CatalogRule\Api\Data\RuleInterface\setDiscountAmount
setDiscountAmount($amount)
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14