getAreaId(); $areaPrices = ColissimowsPriceSlicesQuery::create() ->filterByAreaId($areaId) ->orderByMaxWeight() ->orderByMaxPrice() ; return $areaPrices; } public function parseResults(LoopResult $loopResult) { /** @var \ColissimoWs\Model\ColissimoWsPriceSlices $priceSlice */ foreach ($loopResult->getResultDataCollection() as $priceSlice) { $loopResultRow = new LoopResultRow($priceSlice); $loopResultRow ->set("SLICE_ID", $priceSlice->getId()) ->set("MAX_WEIGHT", $priceSlice->getMaxWeight()) ->set("MAX_PRICE", $priceSlice->getMaxPrice()) ->set("SHIPPING", $priceSlice->getShipping()) ->set("FRANCO", $priceSlice->getFrancoMinPrice()) ; $loopResult->addRow($loopResultRow); } return $loopResult; } }