source/Application/Model/Basket.php
protected function _getPriceObject()
    {
        $oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

        if ($this->isCalculationModeNetto()) {
            $oPrice->setNettoPriceMode();
        } else {
            $oPrice->setBruttoPriceMode();
        }

        return $oPrice;
    }
protected function _getPriceObject()
    {
        $oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

        if ($this->isCalculationModeNetto()) {
            $oPrice->setNettoPriceMode();
        } else {
            $oPrice->setBruttoPriceMode();
        }

        return $oPrice;
    }
protected function _getPriceObject ( ) { $ oPrice = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; if ( $ this -> isCalculationModeNetto ( ) ) { $ oPrice -> setNettoPriceMode ( ) ; } else { $ oPrice -> setBruttoPriceMode ( ) ; } return $ oPrice ; }
Returns prepared price object depending on view mode

@return \OxidEsales\Eshop\Core\Price
Returns prepared price object depending on view mode