code: public function onPreCreate(ResourceEventInterface $event)
      {
          $sale = $this->getSaleFromEvent($event);
  
          $this->updateInformation($sale);
  
          $this->pricingUpdater->updateVatNumberSubject($sale);
      }
docs: Pre create event handler.
  
  @param ResourceEventInterface $event