Skip to content

Commit

Permalink
Fix/fbr417 (#375)
Browse files Browse the repository at this point in the history
* group additional data details

* date of birth param validation
  • Loading branch information
BrianMuhimbura authored Dec 29, 2023
1 parent 29a7ce9 commit 1048e58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,5 @@ public interface LoanApiConstants {
String otherIncomeParamName = "otherIncome";
String currentLoansParamName = "currentLoans";
String businessActivityParamName = "businessActivity";
String dateOfBirthParamName = "dateOfBirth";
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public final class CalculateLoanScheduleQueryFromApiJsonHelper {
LoanApiConstants.cupoIdParameterName, LoanApiConstants.externalLoansParamName, LoanApiConstants.CASE_ID,
LoanApiConstants.paymentCapacityParamName, LoanApiConstants.facilitatorParamName, LoanApiConstants.maidenNameParamName,
LoanApiConstants.politicallyExposedParamName, LoanApiConstants.otherIncomeParamName, LoanApiConstants.currentLoansParamName,
LoanApiConstants.businessActivityParamName));
LoanApiConstants.businessActivityParamName, LoanApiConstants.dateOfBirthParamName));

private final FromJsonHelper fromApiJsonHelper;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public final class LoanApplicationCommandFromApiJsonHelper {
LoanApiConstants.relativeNumberParamName, LoanApiConstants.yearsInCommunityParamName, LoanApiConstants.PREQUALIFICATION_ID,
LoanApiConstants.cupoIdParameterName, LoanApiConstants.externalLoansParamName, LoanApiConstants.CASE_ID,
LoanApiConstants.paymentCapacityParamName, LoanApiConstants.facilitatorParamName, LoanApiConstants.maidenNameParamName,
LoanApiConstants.politicallyExposedParamName, LoanApiConstants.otherIncomeParamName, LoanApiConstants.currentLoansParamName,
LoanApiConstants.politicallyExposedParamName, LoanApiConstants.otherIncomeParamName, LoanApiConstants.currentLoansParamName, LoanApiConstants.dateOfBirthParamName,
LoanApiConstants.businessActivityParamName, LoanApiConstants.LOAN_ADDITIONAL_DATA, "borrowerCycle", "isBulkImport"));

private final FromJsonHelper fromApiJsonHelper;
Expand Down

0 comments on commit 1048e58

Please sign in to comment.