/** * sample_GetCategory2CS::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetCategory2CSRequestType(); $req->setCategoryID($params['CategoryID']); $req->setDetailLevel($params['DetailLevel']); $res = $this->proxy->GetCategory2CS($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return GetCategory2CSResponseType * @param GetCategory2CSRequestType $request */ function GetCategory2CS($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('GetCategory2CS', $request); }