lib/AktiveMerchant/Billing/Gateways/Realex.php
private function optionsFrom($response)
    {
        $options = array();
        $options['test'] = (strstr((string) $response->message, '[ test system ]')) ? true : false;
        $options['authorization'] = (string) $response->authcode;
        $options['cvv_result'] = (string) $response->cvnresult;
        $options['avs_result'] = array(
            'street_match' => (string) $response->avspostcoderesponse,
            'postal_match' => (string) $response->avspostcoderesponse
        );

        return $options;
    }
private function optionsFrom($response)
    {
        $options = array();
        $options['test'] = (strstr((string) $response->message, '[ test system ]')) ? true : false;
        $options['authorization'] = (string) $response->authcode;
        $options['cvv_result'] = (string) $response->cvnresult;
        $options['avs_result'] = array(
            'street_match' => (string) $response->avspostcoderesponse,
            'postal_match' => (string) $response->avspostcoderesponse
        );

        return $options;
    }
private function optionsFrom ( $ response ) { $ options = array ( ) ; $ options [ 'test' ] = ( strstr ( ( string ) $ response -> message , '[ test system ]' ) ) ? true : false ; $ options [ 'authorization' ] = ( string ) $ response -> authcode ; $ options [ 'cvv_result' ] = ( string ) $ response -> cvnresult ; $ options [ 'avs_result' ] = array ( 'street_match' => ( string ) $ response -> avspostcoderesponse , 'postal_match' => ( string ) $ response -> avspostcoderesponse ) ; return $ options ; }
get the options from the XML response

@param SimpleXMLElement Object

@return array
get the options from the XML response