/** * sample_AddDisputeResponse::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new AddDisputeResponseRequestType(); $req->setDisputeActivity($params['DisputeActivity']); $req->setDisputeID($params['DisputeID']); $req->setMessageText($params['MessageText']); $res = $this->proxy->AddDisputeResponse($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }
/** * @return AddDisputeResponseResponseType * @param AddDisputeResponseRequestType $request */ function AddDisputeResponse($request) { $request->setVersion(EBAY_WSDL_VERSION); return $this->call('AddDisputeResponse', $request); }