update code resolve conflict

This commit is contained in:
Mohd-Arham
2025-12-01 21:59:13 +05:30
18 changed files with 777 additions and 7 deletions
@@ -183,5 +183,14 @@ public class Helper {
return user;
}
public <T> T convertJsonToObject(String json, Class<T> clazz) {
try {
return objectMapper.readValue(json, clazz);
} catch (Exception e) {
throw new CustomException("Invalid JSON from payment API", "FAILED", 400, json);
}
}
}