getAreaId(); $areaPrices = ColissimoPickupPointPriceSlicesQuery::create() ->filterByAreaId($areaId) ->orderByWeightMax(); return $areaPrices; } public function parseResults(LoopResult $loopResult) { /** @var \ColissimoPickupPoint\Model\ColissimoPickupPointPriceSlices $price */ foreach ($loopResult->getResultDataCollection() as $price) { $loopResultRow = new LoopResultRow($price); $loopResultRow ->set('SLICE_ID', $price->getId()) ->set('MAX_WEIGHT', $price->getWeightMax()) ->set('MAX_PRICE', $price->getPriceMax()) ->set('PRICE', $price->getPrice()) ->set('FRANCO', $price->getFrancoMinPrice()) ; $loopResult->addRow($loopResultRow); } return $loopResult; } }