public function updateOrder(OrderData $orderData, Order $order): void 	{ 		$order->update([ 			'approved_by_buyer' => $orderData->getApprovedByBuyer(), 			'advance_payment' => $orderData->getAdvancePayment(), 			'warehouse_id' => $orderData->getWarehouseId(), 			'warehouse_details' => $orderData->getWarehouseId() ? null : $order->warehouse_details, // if new warehouse added, delete warehouse_details data because it will be fetched from relation else leave as is 			'buyer_id' => $orderData->getBuyerId(), 			'buyer_details' => $orderData->getBuyerId() ? null : $order->buyer_details, // if new buyer added, delete buyer_details data because it will be fetched from relation else leave as is 			'note' => $orderData->getNote(), 			'email_recipients' => $orderData->getEmailRecipients(), 		]); 	}