removed interestRatePeriodType from Json parameters validation
This commit is contained in:
committed by
Keith Woodlock
parent
b71e659420
commit
4b80393d4a
-6
@@ -100,12 +100,6 @@ public final class CalculateLoanScheduleQueryFromApiJsonHelper {
|
|||||||
element);
|
element);
|
||||||
baseDataValidator.reset().parameter(interestRatePerPeriodParameterName).value(interestRatePerPeriod).notNull().positiveAmount();
|
baseDataValidator.reset().parameter(interestRatePerPeriodParameterName).value(interestRatePerPeriod).notNull().positiveAmount();
|
||||||
|
|
||||||
final String interestRateFrequencyTypeParameterName = "interestRateFrequencyType";
|
|
||||||
final Integer interestRateFrequencyType = fromApiJsonHelper.extractIntegerWithLocaleNamed(interestRateFrequencyTypeParameterName,
|
|
||||||
element);
|
|
||||||
baseDataValidator.reset().parameter(interestRateFrequencyTypeParameterName).value(interestRateFrequencyType).notNull()
|
|
||||||
.inMinMaxRange(0, 3);
|
|
||||||
|
|
||||||
final String interestTypeParameterName = "interestType";
|
final String interestTypeParameterName = "interestType";
|
||||||
final Integer interestType = fromApiJsonHelper.extractIntegerWithLocaleNamed(interestTypeParameterName, element);
|
final Integer interestType = fromApiJsonHelper.extractIntegerWithLocaleNamed(interestTypeParameterName, element);
|
||||||
baseDataValidator.reset().parameter(interestTypeParameterName).value(interestType).notNull().inMinMaxRange(0, 1);
|
baseDataValidator.reset().parameter(interestTypeParameterName).value(interestType).notNull().inMinMaxRange(0, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user