FINERACT-2181: Batch Api - Add Interest pause API support

This commit is contained in:
Adam Saghy
2025-07-21 12:26:03 +02:00
parent 46e1bd0492
commit 81d6d2e54e
11 changed files with 645 additions and 7 deletions
@@ -50,4 +50,12 @@ public class InterestPauseRequestDto {
throw new IllegalArgumentException("Error serializing request to JSON", e);
}
}
public static InterestPauseRequestDto fromJson(String json) {
try {
return new ObjectMapper().readValue(json, InterestPauseRequestDto.class);
} catch (JsonProcessingException e) {
throw new IllegalArgumentException("Error deserializing request from JSON", e);
}
}
}