public function finalize(Order $order): void 	{ 		$paymentSlipDataObject = $this->createPaymentSlipDataObject($order);  		$this->createBarCode($paymentSlipDataObject);  		$path = $this->path . "/$this->barCodePrePend-$order->reference_number.png";  		$this->createPaymentSlip($paymentSlipDataObject, $path);  		$this->updateOrder($order);  		$this->cleanup($order->reference_number);  		$this->addMediaToOrder($order);  		CreateOfferAndSendEmail::dispatch($order); 	}