Example #1
0
 /**
  * Add extra amount which should be taxable by regular tax
  *
  * @param   \Magento\Sales\Model\Quote\Item\AbstractItem $item
  * @param   float $value
  * @param   float $baseValue
  * @param   float $rowValue
  * @param   float $baseRowValue
  * @return  $this
  */
 protected function _processTaxSettings($item, $value, $baseValue, $rowValue, $baseRowValue)
 {
     if ($this->_weeeData->isTaxable($this->_store) && $rowValue) {
         $item->setExtraTaxableAmount($value)->setBaseExtraTaxableAmount($baseValue)->setExtraRowTaxableAmount($rowValue)->setBaseExtraRowTaxableAmount($baseRowValue);
     }
     return $this;
 }