source/Application/Model/Basket.php
public function getPrice()
    {
        if (is_null($this->_oPrice)) {
            /** @var \OxidEsales\Eshop\Core\Price $price */
            $price = oxNew(\OxidEsales\Eshop\Core\Price::class);
            $this->setPrice($price);
        }

        return $this->_oPrice;
    }
public function getPrice()
    {
        if (is_null($this->_oPrice)) {
            /** @var \OxidEsales\Eshop\Core\Price $price */
            $price = oxNew(\OxidEsales\Eshop\Core\Price::class);
            $this->setPrice($price);
        }

        return $this->_oPrice;
    }
public function getPrice ( ) { if ( is_null ( $ this -> _oPrice ) ) { /** @var \OxidEsales\Eshop\Core\Price $price */ $ price = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; $ this -> setPrice ( $ price ) ; } return $ this -> _oPrice ; }
Returns basket price object

@return \OxidEsales\Eshop\Core\Price
Returns basket price object