source/Application/Model/Basket.php
public function getDiscounts()
    {
        if ($this->getTotalDiscount() && $this->getTotalDiscount()->getBruttoPrice() == 0 && count($this->_aItemDiscounts) == 0) {
            return [];
        }

        return array_merge($this->_aItemDiscounts, $this->_aDiscounts);
    }
public function getDiscounts()
    {
        if ($this->getTotalDiscount() && $this->getTotalDiscount()->getBruttoPrice() == 0 && count($this->_aItemDiscounts) == 0) {
            return [];
        }

        return array_merge($this->_aItemDiscounts, $this->_aDiscounts);
    }
public function getDiscounts ( ) { if ( $ this -> getTotalDiscount ( ) && $ this -> getTotalDiscount ( ) -> getBruttoPrice ( ) == 0 && count ( $ this -> _aItemDiscounts ) == 0 ) { return [ ] ; } return array_merge ( $ this -> _aItemDiscounts , $ this -> _aDiscounts ) ; }
Returns applied discount information array

@return array
Returns applied discount information array