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
framework
Pricing
Adjustment
AdjustmentInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework\Pricing\Adjustment
;
8
9
use
Magento\Framework\Pricing\SaleableInterface
;
10
17
interface
AdjustmentInterface
18
{
25
public
function
getAdjustmentCode
();
26
32
public
function
isIncludedInBasePrice
();
33
39
public
function
isIncludedInDisplayPrice
();
40
49
public
function
extractAdjustment
(
$amount
,
SaleableInterface
$saleableItem, $context = []);
50
59
public
function
applyAdjustment
(
$amount
,
SaleableInterface
$saleableItem, $context = []);
60
67
public
function
isExcludedWith
($adjustmentCode);
68
74
public
function
getSortOrder
();
75
}
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\isIncludedInDisplayPrice
isIncludedInDisplayPrice()
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\getAdjustmentCode
getAdjustmentCode()
Magento\Framework\Pricing\Adjustment
Definition:
AdjustmentInterface.php:7
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\getSortOrder
getSortOrder()
$amount
$amount
Definition:
order.php:14
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\applyAdjustment
applyAdjustment($amount, SaleableInterface $saleableItem, $context=[])
Magento\Framework\Pricing\Adjustment\AdjustmentInterface
Definition:
AdjustmentInterface.php:17
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\isExcludedWith
isExcludedWith($adjustmentCode)
Magento\Framework\Pricing\SaleableInterface
Definition:
SaleableInterface.php:15
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\extractAdjustment
extractAdjustment($amount, SaleableInterface $saleableItem, $context=[])
Magento\Framework\Pricing\Adjustment\AdjustmentInterface\isIncludedInBasePrice
isIncludedInBasePrice()