Common/EventListener/AbstractSaleListener.php
public function onAddressChange(ResourceEventInterface $event)
    {
        $sale = $this->getSaleFromEvent($event);

        if ($this->persistenceHelper->isScheduledForRemove($sale)) {
            $event->stopPropagation();

            return;
        }

        if ($this->handleAddressChange($sale)) {
            $this->persistenceHelper->persistAndRecompute($sale, false);

            $this->scheduleContentChangeEvent($sale);
        }
    }
public function onAddressChange(ResourceEventInterface $event)
    {
        $sale = $this->getSaleFromEvent($event);

        if ($this->persistenceHelper->isScheduledForRemove($sale)) {
            $event->stopPropagation();

            return;
        }

        if ($this->handleAddressChange($sale)) {
            $this->persistenceHelper->persistAndRecompute($sale, false);

            $this->scheduleContentChangeEvent($sale);
        }
    }
Address change event handler.

@param ResourceEventInterface $event