public function registerProducts(Order $order): void 	{ 		foreach ($order->orderProducts as $product) { 			$order->customer->registeredDevices()->create([ 				'product_id' => $product->product_id, 				'purchase_date' => formatLocalTimestamp(now(), 'Y-m-d'), 			]); 		} 	}