code: public function setParameters(array $request)
      {
          foreach ($this->getRequiredParameters() as $param) {
              if (isset($request[$param])) {
                  // build setter method
                  $dynamicMethod = "set" . ucfirst($param);
                  if (method_exists($this, $dynamicMethod)) {
                      $this->$dynamicMethod($request[$param]);
                  } else {
                      throw new ExtDirectException("Method for required parameter '{$param}' not implemented");
                  }
              } else {
                  throw new ExtDirectException("Required parameter '{$param}' is missing");
              }
          }
      }
docs: try's to set all required parameters
  
  @param array $request the ext direct as array
  
  @return void
  @throws ExtDirectException