source/Application/Model/Basket.php
public function setVoucherDiscount($dDiscount)
    {
        $this->_oVoucherDiscount = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oVoucherDiscount->setBruttoPriceMode();
        $this->_oVoucherDiscount->add($dDiscount);
    }
public function setVoucherDiscount($dDiscount)
    {
        $this->_oVoucherDiscount = oxNew(\OxidEsales\Eshop\Core\Price::class);
        $this->_oVoucherDiscount->setBruttoPriceMode();
        $this->_oVoucherDiscount->add($dDiscount);
    }
public function setVoucherDiscount ( $ dDiscount ) { $ this -> _oVoucherDiscount = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; $ this -> _oVoucherDiscount -> setBruttoPriceMode ( ) ; $ this -> _oVoucherDiscount -> add ( $ dDiscount ) ; }
Voucher discount setter

@param double $dDiscount voucher discount value
Voucher discount setter