findOneById(1)){ $isFreeShippingActive = new ColissimoPickupPointFreeshipping(); $isFreeShippingActive->setId(1); $isFreeShippingActive->setActive(0); $isFreeShippingActive->save(); } return ColissimoPickupPointFreeshippingQuery::create()->filterById(1); } public function parseResults(LoopResult $loopResult) { /** @var ColissimoPickupPointFreeshipping $freeshipping */ foreach ($loopResult->getResultDataCollection() as $freeshipping) { $loopResultRow = new LoopResultRow($freeshipping); $loopResultRow ->set('FREESHIPPING_ACTIVE', $freeshipping->getActive()) ->set('FREESHIPPING_FROM', $freeshipping->getFreeshippingFrom()); $loopResult->addRow($loopResultRow); } return $loopResult; } }