public function store(StoreOrder $request, OrderCalculateService $orderService): OrderSingleResource 	{ 		$domain = Domain::where('domain', $request->domain)->first();  		$order = Order::create([ 			'tax_percent' => setting('tax'), 			'customer_id' => getUser()?->user->getKey(), 			'domain_id' => $domain->id, 			'payment_type' => $request->enum('payment_type', PaymentType::class), 			'name' => $request->name, 			'lastname' => $request->lastname, 			'email' => $request->email, 			'phone' => $request->phone, 			'company_name' => $request->company_name, 			'company_address' => $request->company_address, 			'vat' => $request->vat, 			'note' => $request->note, 			'lang' => $request->enum('lang', Language::class), 			'delivery_address' => $request->delivery_address, 			'delivery_city' => $request->delivery_city, 			'delivery_zip_code' => $request->delivery_zip_code, 			'delivery_country' => $request->delivery_country, 			'billing_address' => $request->billing_address ?? $request->delivery_address, 			'billing_city' => $request->billing_city ?? $request->delivery_city, 			'billing_zip_code' => $request->billing_zip_code ?? $request->delivery_zip_code, 			'billing_country' => $request->billing_country ?? $request->delivery_country, 		]);  		foreach ($request->products as $product) { 			$productModel = Product::with('item')->findOrFail($product['product_id']);  			$order->products()->create([ 				'product_id' => $productModel->getKey(), 				'price' => $productModel->getPrice(), 				'quantity' => $product['quantity'], 			]); 		}  		if ($order->payment_type->value == PaymentType::Cash->value) { 			$order->sendOrderSuccessMail(); 		}  		$order = $orderService->recalculatePrices($order);  		return new OrderSingleResource($order); 	}