title: Missing Classes in Authorize.net PHP SDK
body: <p>I'm trying to generate a custom report from Authorize.net using their API but cannot get the SDK to load without errors.</p>
  
  <p>I created a post on the developer board <a href="https://community.developer.authorize.net/t5/Integration-and-Testing/Fatal-error-Class-Goetas-Xsd-XsdToPhp-Jms-Handler/td-p/54698" rel="nofollow">HERE</a> as well as sending an email request to their support team.  The issue was supposed to have been fixed with a temporary patch <a href="https://github.com/AuthorizeNet/sdk-php/commit/d63a785803647e4d137a56cecb7c150e15c32fef" rel="nofollow">HERE</a>. But the errors persist.</p>
  
  <p>Does anyone have any ideas as to how to work around this issue?  </p>
  
  <p>My Code:</p>
  
  <pre><code>&lt;?php
  error_reporting(-1); ini_set('display_errors', 'On');
  date_default_timezone_set('UTC');
  
  /* autoload through composer */
  //require 'vendor/autoload.php';
  
  /* autoload through git clone */
  //require 'git/sdk-php/autoload.php';
  
  /* autoload through .zip download */
  require 'download/sdk-php-master/autoload.php';
  
  use net\authorize\api\contract\v1 as AnetAPI;
  use net\authorize\api\controller as AnetController; 
  
  function getSettledBatchList($startDate, $endDate) {
      $api_id         = "MY_API_ID";
      $account_key    = "MY_ACCOUNT_KEY";
      $start_dt       = new DateTime($startDate);
      $end_dt         = new DateTime($endDate);
  
      $merchAuth      = new AnetAPI\MerchantAuthenticationType();
      $merchAuth-&gt;setName($api_id);
      $merchAuth-&gt;setTransactionKey($account_key);
  
      $request        = new AnetAPI\GetSettledBatchListRequest();
      $request-&gt;setMerchantAuthentication($merchAuth);
      $request-&gt;setIncludeStatistics(true);
      $request-&gt;setFirstSettlementDate($start_dt);
      $request-&gt;setLastSettlementDate($end_dt);
  
      $controller     = new AnetController\GetSettledBatchListController($request);
      $response       = $controller-&gt;executeWithApiResponse( \net\authorize\api\constants\ANetEnvironment::SANDBOX);
  
      if(($response != null) &amp;&amp; ($response-&gt;getMessages()-&gt;getResultCode() == "Ok")){
          /* Do Nothing For Now */
      }else{
          $errorMessages = $response-&gt;getMessages()-&gt;getMessage();
          echo "Response : " . $errorMessages[0]-&gt;getCode() . "  " .$errorMessages[0]-&gt;getText() . "\n";
      }
      return $response;
  }
  
  $api_response   = getSettledBatchList('2016-05-01T00:00:00Z', '2016-05-10T00:00:00Z');
  var_dump($api_response); 
  
  ?&gt;
  </code></pre>
  
  <p>The Errors:</p>
  
  <pre><code>/* Loaded with git clone https://github.com/AuthorizeNet/sdk-php.git */
  
  Warning: include(sdk-php/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php): failed to open stream: No such file or directory in sdk-php/autoload.php on line 16 
  
  Warning: include(): Failed opening '/sdk-php/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php' for inclusion (include_path='.:') in sdk-php/autoload.php on line 16 
  
  Fatal error: Class 'JMS\Serializer\Annotation\Type' not found in /sdk-php/lib/net/authorize/util/SensitiveDataConfigType.php on line 6
  
  
  /* Loaded by downloading .zip from github page */
  
  Warning: include(/sdk-php-master/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php): failed to open stream: No such file or directory in /sdk-php-master/autoload.php on line 16 
  
  Warning: include(): Failed opening '/sdk-php-master/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php' for inclusion (include_path='.:') in /sdk-php-master/autoload.php on line 16 
  
  Fatal error: Class 'JMS\Serializer\Annotation\Type' not found in /sdk-php-master/lib/net/authorize/util/SensitiveDataConfigType.php on line 6
  
  
  /* Loaded with Composer using recommended composer.json */
  
  Fatal error: Class 'Goetas\Xsd\XsdToPhp\Jms\Handler\BaseTypesHandler' not found in /vendor/authorizenet/authorizenet/lib/net/authorize/api/controller/base/ApiOperationBase.php on line 82
  </code></pre>
  
  <p>I'm open to all ideas at this point.  Thanks!</p>