source/Application/Model/Discount.php
public function getAddSum()
    {
        if ($this->oxdiscount__oxaddsumtype->value == 'abs') {
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();

            return $this->oxdiscount__oxaddsum->value * $oCur->rate;
        } else {
            return $this->oxdiscount__oxaddsum->value;
        }
    }
public function getAddSum()
    {
        if ($this->oxdiscount__oxaddsumtype->value == 'abs') {
            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();

            return $this->oxdiscount__oxaddsum->value * $oCur->rate;
        } else {
            return $this->oxdiscount__oxaddsum->value;
        }
    }
public function getAddSum ( ) { if ( $ this -> oxdiscount__oxaddsumtype -> value == 'abs' ) { $ oCur = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActShopCurrencyObject ( ) ; return $ this -> oxdiscount__oxaddsum -> value * $ oCur -> rate ; } else { return $ this -> oxdiscount__oxaddsum -> value ; } }
Return add sum in abs type discount with efected currency rate;
Return discount percent value in other way;

@return double
Return add sum in abs type discount with efected currency rate ; Return discount percent value in other way ;