source/Application/Model/Article.php
protected function _getPriceObject($blCalculationModeNetto = null)
    {
        /** @var \OxidEsales\Eshop\Core\Price $oPrice */
        $oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

        if ($blCalculationModeNetto === null) {
            $blCalculationModeNetto = $this->_isPriceViewModeNetto();
        }

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

        return $oPrice;
    }
protected function _getPriceObject($blCalculationModeNetto = null)
    {
        /** @var \OxidEsales\Eshop\Core\Price $oPrice */
        $oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

        if ($blCalculationModeNetto === null) {
            $blCalculationModeNetto = $this->_isPriceViewModeNetto();
        }

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

        return $oPrice;
    }
protected function _getPriceObject ( $ blCalculationModeNetto = null ) { /** @var \OxidEsales\Eshop\Core\Price $oPrice */ $ oPrice = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; if ( $ blCalculationModeNetto === null ) { $ blCalculationModeNetto = $ this -> _isPriceViewModeNetto ( ) ; } if ( $ blCalculationModeNetto ) { $ oPrice -> setNettoPriceMode ( ) ; } else { $ oPrice -> setBruttoPriceMode ( ) ; } return $ oPrice ; }
Depending on view mode prepare oxPrice object

@param bool $blCalculationModeNetto - if calculation mode netto - true

@return oxPice
Depending on view mode prepare oxPrice object