/** * sample_GetCrossPromotions::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetCrossPromotionsRequestType(); $req->setItemID($params['ItemID']); $req->setPromotionMethod($params['PromotionMethod']); $res = $this->proxy->GetCrossPromotions($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }