/** * sample_GetProductSellingPages::dispatchCall() * * Dispatch the call * * @param array $params array of parameters for the eBay API call * * @return boolean success */ public function dispatchCall($params) { $req = new GetProductSellingPagesRequestType(); $req->setUseCase($params['UseCase']); $Product = new ProductType(); $Product->setTypeAttribute('productID', $params['productID']); $CharacteristicsSet = new CharacteristicsSetType(); $CharacteristicsSet->setAttributeSetID($params['AttributeSetID']); $Product->setCharacteristicsSet($CharacteristicsSet); $req->setProduct($Product); $res = $this->proxy->GetProductSellingPages($req); if ($this->testValid($res)) { $this->dumpObject($res); return true; } else { return false; } }