/** * sample_LeaveFeedback::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new LeaveFeedbackRequestType(); $req->setItemID($params['ItemID']); $req->setTargetUser($params['TargetUser']); $req->setCommentText($params['CommentText']); $req->setCommentType($params['CommentType']); $res = $this->proxy->LeaveFeedback($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return LeaveFeedbackResponseType * @param LeaveFeedbackRequestType $request */ function LeaveFeedback($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('LeaveFeedback', $request); }