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