src/Message/AbstractRequest.php
protected function buildRequest($data)
    {
        $xmlHeader = '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessTransaction xmlns="https://gateway.agms.com/roxapi/">
      <objparameters>';
        $xmlFooter = '</objparameters>
    </ProcessTransaction>
  </soap:Body>
</soap:Envelope>';
        $xmlBody = '';
        foreach ($data as $key => $value) {
            $xmlBody = $xmlBody . "<$key>$value</$key>";
        }
        return $xmlHeader . $xmlBody . $xmlFooter;
    }
protected function buildRequest($data)
    {
        $xmlHeader = '<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ProcessTransaction xmlns="https://gateway.agms.com/roxapi/">
      <objparameters>';
        $xmlFooter = '</objparameters>
    </ProcessTransaction>
  </soap:Body>
</soap:Envelope>';
        $xmlBody = '';
        foreach ($data as $key => $value) {
            $xmlBody = $xmlBody . "<$key>$value</$key>";
        }
        return $xmlHeader . $xmlBody . $xmlFooter;
    }
Build xml for the gateway

@return xml string