98 if ($this->taxHelper->displayPriceExcludingTax()) {
101 if ($this->weeeHelper->isEnabled() ==
true &&
102 $this->weeeHelper->isTaxable() ==
true &&
103 $this->weeeHelper->typeOfDisplay([\
Magento\Weee\Model\Tax::DISPLAY_EXCL]) ==
false) {
148 return (($adjustmentCode == self::ADJUSTMENT_CODE) ||
161 $attributes = $this->weeeHelper->getProductWeeeAttributes($saleableItem,
null,
null,
null,
true,
false);
164 $weeeTaxAmount +=
$attribute->getData(
'tax_amount');
167 $weeeTaxAmount = $this->priceCurrency->convert($weeeTaxAmount);
168 return $weeeTaxAmount;
__construct(WeeeHelper $weeeHelper, TaxHelper $taxHelper, PriceCurrencyInterface $priceCurrency, $sortOrder=null)
applyAdjustment($amount, SaleableInterface $saleableItem, $context=[])
getAmount(SaleableInterface $saleableItem)
const CONFIGURATION_OPTION_FLAG
isIncludedInDisplayPrice()
extractAdjustment($amount, SaleableInterface $saleableItem, $context=[])
isExcludedWith($adjustmentCode)