source/Application/Model/Basket.php
public function getCosts($sId = null)
    {
        // if user want some specific cost - return it
        if ($sId) {
            return isset($this->_aCosts[$sId]) ? $this->_aCosts[$sId] : null;
        }

        return $this->_aCosts;
    }
public function getCosts($sId = null)
    {
        // if user want some specific cost - return it
        if ($sId) {
            return isset($this->_aCosts[$sId]) ? $this->_aCosts[$sId] : null;
        }

        return $this->_aCosts;
    }
public function getCosts ( $ sId = null ) { // if user want some specific cost - return it if ( $ sId ) { return isset ( $ this -> _aCosts [ $ sId ] ) ? $ this -> _aCosts [ $ sId ] : null ; } return $ this -> _aCosts ; }
Returns array of basket costs. By passing cost identifier method will return
this cost if available

@param string $sId cost id ( optional )

@return array|\OxidEsales\Eshop\Core\Price|null
Returns array of basket costs . By passing cost identifier method will return this cost if available