source/Core/Price.php
public function addPrice(\OxidEsales\Eshop\Core\Price $oPrice)
    {
        if ($this->isNettoMode()) {
            $this->add($oPrice->getNettoPrice());
        } else {
            $this->add($oPrice->getBruttoPrice());
        }
    }
public function addPrice(\OxidEsales\Eshop\Core\Price $oPrice)
    {
        if ($this->isNettoMode()) {
            $this->add($oPrice->getNettoPrice());
        } else {
            $this->add($oPrice->getBruttoPrice());
        }
    }
public function addPrice ( \ OxidEsales \ Eshop \ Core \ Price $ oPrice ) { if ( $ this -> isNettoMode ( ) ) { $ this -> add ( $ oPrice -> getNettoPrice ( ) ) ; } else { $ this -> add ( $ oPrice -> getBruttoPrice ( ) ) ; } }
Adds another oxPrice object and recalculates current method.

@param \OxidEsales\Eshop\Core\Price $oPrice object
Adds another oxPrice object and recalculates current method .