lib/AktiveMerchant/Billing/Gateways/Realex.php
private function paramsFrom($response)
    {
        $attribs = $response->attributes();

        $params = array();
        $params['result'] = (string) $response->result;
        $params['pasref'] = (string) $response->pasref;
        $params['order_id'] = (string) $response->orderid;
        $params['batch_id'] = (string) $response->batchid;
        $params['account'] = (string) $response->account;
        $params['timestamp'] = (int) $attribs['timestamp'];

        return $params;
    }
private function paramsFrom($response)
    {
        $attribs = $response->attributes();

        $params = array();
        $params['result'] = (string) $response->result;
        $params['pasref'] = (string) $response->pasref;
        $params['order_id'] = (string) $response->orderid;
        $params['batch_id'] = (string) $response->batchid;
        $params['account'] = (string) $response->account;
        $params['timestamp'] = (int) $attribs['timestamp'];

        return $params;
    }
private function paramsFrom ( $ response ) { $ attribs = $ response -> attributes ( ) ; $ params = array ( ) ; $ params [ 'result' ] = ( string ) $ response -> result ; $ params [ 'pasref' ] = ( string ) $ response -> pasref ; $ params [ 'order_id' ] = ( string ) $ response -> orderid ; $ params [ 'batch_id' ] = ( string ) $ response -> batchid ; $ params [ 'account' ] = ( string ) $ response -> account ; $ params [ 'timestamp' ] = ( int ) $ attribs [ 'timestamp' ] ; return $ params ; }
get the params from the XML response

@param SimpleXMLElement Object

@return array
get the params from the XML response