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-msrp
Model
Quote
Msrp.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Msrp\Model\Quote
;
7
11
class
Msrp
12
{
16
protected
$canApplyMsrpData
= [];
17
23
public
function
setCanApplyMsrp
(
$quoteId
, $canApply)
24
{
25
$this->canApplyMsrpData[
$quoteId
] = (bool)$canApply;
26
return
$this;
27
}
28
34
public
function
getCanApplyMsrp
(
$quoteId
)
35
{
36
if
(isset($this->canApplyMsrpData[
$quoteId
])) {
37
return
(
bool
)$this->canApplyMsrpData[
$quoteId
];
38
}
39
return
false
;
40
}
41
}
Magento\Msrp\Model\Quote\Msrp\$canApplyMsrpData
$canApplyMsrpData
Definition:
Msrp.php:16
Magento\Msrp\Model\Quote\Msrp\getCanApplyMsrp
getCanApplyMsrp($quoteId)
Definition:
Msrp.php:34
Magento\Msrp\Model\Quote\Msrp\setCanApplyMsrp
setCanApplyMsrp($quoteId, $canApply)
Definition:
Msrp.php:23
Magento\Msrp\Model\Quote\Msrp
Definition:
Msrp.php:11
Magento\Msrp\Model\Quote
$quoteId
$quoteId
Definition:
quote_with_items_and_custom_options_saved_rollback.php:12