/** * sample_AddToWatchList::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new AddToWatchListRequestType(); $req->setItemID($params['ItemID']); $res = $this->proxy->AddToWatchList($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return AddToWatchListResponseType * @param AddToWatchListRequestType $request */ function AddToWatchList($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('AddToWatchList', $request); }