source/Application/Model/Basket.php
public function getVoucherDiscount()
    {
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('bl_showVouchers')) {
            return $this->_oVoucherDiscount;
        }

        return null;
    }
public function getVoucherDiscount()
    {
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('bl_showVouchers')) {
            return $this->_oVoucherDiscount;
        }

        return null;
    }
public function getVoucherDiscount ( ) { if ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'bl_showVouchers' ) ) { return $ this -> _oVoucherDiscount ; } return null ; }
Returns basket voucher discount price object

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