source/Application/Model/Discount.php
public function getSimpleDiscount()
    {
        $oDiscount = new stdClass();
        $oDiscount->sOXID = $this->getId();
        $oDiscount->sDiscount = $this->oxdiscount__oxtitle->value;
        $oDiscount->sType = $this->oxdiscount__oxaddsumtype->value;

        return $oDiscount;
    }
public function getSimpleDiscount()
    {
        $oDiscount = new stdClass();
        $oDiscount->sOXID = $this->getId();
        $oDiscount->sDiscount = $this->oxdiscount__oxtitle->value;
        $oDiscount->sType = $this->oxdiscount__oxaddsumtype->value;

        return $oDiscount;
    }
public function getSimpleDiscount ( ) { $ oDiscount = new stdClass ( ) ; $ oDiscount -> sOXID = $ this -> getId ( ) ; $ oDiscount -> sDiscount = $ this -> oxdiscount__oxtitle -> value ; $ oDiscount -> sType = $ this -> oxdiscount__oxaddsumtype -> value ; return $ oDiscount ; }
Returns compact discount object which is used in oxbasket

@return stdClass
Returns compact discount object which is used in oxbasket