code: private function convertGetReportList($request)
      {
  
          $parameters = array();
          $parameters['Action'] = 'GetReportList';
          if ($request->isSetMarketplace()) {
              $parameters['Marketplace'] = $request->getMarketplace();
          }
          if ($request->isSetMerchant()) {
              $parameters['Merchant'] = $request->getMerchant();
          }
          if ($request->isSetMaxCount()) {
              $parameters['MaxCount'] = $request->getMaxCount();
          }
          if ($request->isSetReportTypeList()) {
              $reportTypeList = $request->getReportTypeList();
              foreach ($reportTypeList->getType() as $typeIndex => $type) {
                  $parameters['ReportTypeList' . '.' . 'Type' . '.' . ($typeIndex + 1)] = $type;
              }
          }
          if ($request->isSetAcknowledged()) {
              $parameters['Acknowledged'] = $request->getAcknowledged() ? "true" : "false";
          }
          if ($request->isSetAvailableFromDate()) {
              $parameters['AvailableFromDate'] = $this->getFormattedTimestamp($request->getAvailableFromDate());
          }
          if ($request->isSetAvailableToDate()) {
              $parameters['AvailableToDate'] = $this->getFormattedTimestamp($request->getAvailableToDate());
          }
          if ($request->isSetReportRequestIdList()) {
              $reportRequestIdList = $request->getReportRequestIdList();
              foreach ($reportRequestIdList->getId() as $idIndex => $id) {
                  $parameters['ReportRequestIdList' . '.' . 'Id' . '.' . ($idIndex + 1)] = $id;
              }
          }
          if ($request->isSetMWSAuthToken()) {
              $parameters['MWSAuthToken'] = $request->getMWSAuthToken();
          }
  
          return array(CONVERTED_PARAMETERS_KEY => $parameters, CONVERTED_HEADERS_KEY => $this->defaultHeaders);
      }
docs: Convert GetReportListRequest to name value pairs
  @param MarketplaceWebService_Model_GetReportListRequest $request
  @return array