/** * sample_GetFeedback::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetFeedbackRequestType(); $req->setDetailLevel($params['DetailLevel']); $res = $this->proxy->GetFeedback($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return GetFeedbackResponseType * @param GetFeedbackRequestType $request */ function GetFeedback($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('GetFeedback', $request); }
public function dumpUserFeedback($params) { $this->session->setRequestToken($params['AuthToken']); $result = true; $req = new GetFeedbackRequestType(); $req->setUserID($params['UserID']); // $req->setDetailLevel('ReturnAll'); $pagination = new PaginationType(); $pagination->setEntriesPerPage(25); $pageNumber = 1; $pagination->setPageNumber($pageNumber++); $req->setPagination($pagination); $res = $this->proxy->GetFeedback($req); if ($this->testValid($res)) { $this->dumpObject($res); $result = true; } else { $this->dumpObject($res); $result = false; } return $result; }