code: 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);
          }
      }
docs: Address change event handler.
  
  @param ResourceEventInterface $event