protected function parseResponse($body)
    {
        $this->paramCount = $body->getElementsByTagName('parameter')->length;

        if ($this->paramCount > 0) {
            for ($i = 0; $i < $this->paramCount; $i++) {

                $parameter = $body->getElementsByTagName('parameter')->item($i);

                $name  = $parameter->getElementsByTagName('name')->item(0)->nodeValue;
                $value = $parameter->getElementsByTagName('value')->item(0)->nodeValue;

                $this->transaction[$name] = $value;
            }
        }
    }