source/Application/Model/Basket.php
public function setTotalDiscount($dDiscount)
    {
        $this->_oTotalDiscount = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oTotalDiscount->setBruttoPriceMode();
        $this->_oTotalDiscount->add($dDiscount);
    }
public function setTotalDiscount($dDiscount)
    {
        $this->_oTotalDiscount = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oTotalDiscount->setBruttoPriceMode();
        $this->_oTotalDiscount->add($dDiscount);
    }
public function setTotalDiscount ( $ dDiscount ) { $ this -> _oTotalDiscount = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; $ this -> _oTotalDiscount -> setBruttoPriceMode ( ) ; $ this -> _oTotalDiscount -> add ( $ dDiscount ) ; }
Sets total discount value

@param double $dDiscount new total discount value
Sets total discount value