source/Application/Model/OrderArticle.php
public function getPrice()
    {
        $oBasePrice = oxNew(\OxidEsales\Eshop\Core\Price::class);
        // prices in db are ONLY brutto
        $oBasePrice->setBruttoPriceMode();
        $oBasePrice->setVat($this->oxorderarticles__oxvat->value);
        $oBasePrice->setPrice($this->oxorderarticles__oxbprice->value);

        return $oBasePrice;
    }
public function getPrice()
    {
        $oBasePrice = oxNew(\OxidEsales\Eshop\Core\Price::class);
        // prices in db are ONLY brutto
        $oBasePrice->setBruttoPriceMode();
        $oBasePrice->setVat($this->oxorderarticles__oxvat->value);
        $oBasePrice->setPrice($this->oxorderarticles__oxbprice->value);

        return $oBasePrice;
    }
public function getPrice ( ) { $ oBasePrice = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; // prices in db are ONLY brutto $ oBasePrice -> setBruttoPriceMode ( ) ; $ oBasePrice -> setVat ( $ this -> oxorderarticles__oxvat -> value ) ; $ oBasePrice -> setPrice ( $ this -> oxorderarticles__oxbprice -> value ) ; return $ oBasePrice ; }
Returns order article unit price

@return oxprice
Returns order article unit price