models/oxpspaymorrowoxbasket.php
protected function _formatPriceItemResponse( $mPrice, $mLineItem )
    {
        if ( !is_null( $mLineItem ) and is_object( $mPrice ) ) {
            return $this->_getCostSummary( (int) $mLineItem, 'oxpayment', $mPrice );
        }

        return $mPrice;
    }
protected function _formatPriceItemResponse( $mPrice, $mLineItem )
    {
        if ( !is_null( $mLineItem ) and is_object( $mPrice ) ) {
            return $this->_getCostSummary( (int) $mLineItem, 'oxpayment', $mPrice );
        }

        return $mPrice;
    }
protected function _formatPriceItemResponse ( $ mPrice , $ mLineItem ) { if ( ! is_null ( $ mLineItem ) and is_object ( $ mPrice ) ) { return $ this -> _getCostSummary ( ( int ) $ mLineItem , 'oxpayment' , $ mPrice ) ; } return $ mPrice ; }
If line item requested, then return line item data array, otherwise price object fdirectly.

@param array|oxPrice $mPrice
@param null|int      $mLineItem

@return array|oxPrice
If line item requested then return line item data array otherwise price object fdirectly .