support update single piece of information for loan product and tidy up validation.
This commit is contained in:
@@ -15,13 +15,16 @@ public class LoanProductCommand {
|
||||
private String currencyCode;
|
||||
private Integer digitsAfterDecimal;
|
||||
private BigDecimal principal;
|
||||
private String principalFormatted;
|
||||
private BigDecimal inArrearsToleranceAmount;
|
||||
private String inArrearsToleranceAmountFormatted;
|
||||
|
||||
private Integer repaymentEvery;
|
||||
private Integer repaymentFrequency;
|
||||
private Integer numberOfRepayments;
|
||||
|
||||
private BigDecimal interestRatePerPeriod;
|
||||
private String interestRatePerPeriodFormatted;
|
||||
private Integer interestRateFrequencyMethod;
|
||||
private Integer amortizationMethod;
|
||||
private Integer interestMethod;
|
||||
@@ -159,4 +162,30 @@ public class LoanProductCommand {
|
||||
Integer interestCalculationPeriodMethod) {
|
||||
this.interestCalculationPeriodMethod = interestCalculationPeriodMethod;
|
||||
}
|
||||
|
||||
public String getPrincipalFormatted() {
|
||||
return principalFormatted;
|
||||
}
|
||||
|
||||
public void setPrincipalFormatted(String principalFormatted) {
|
||||
this.principalFormatted = principalFormatted;
|
||||
}
|
||||
|
||||
public String getInterestRatePerPeriodFormatted() {
|
||||
return interestRatePerPeriodFormatted;
|
||||
}
|
||||
|
||||
public void setInterestRatePerPeriodFormatted(
|
||||
String interestRatePerPeriodFormatted) {
|
||||
this.interestRatePerPeriodFormatted = interestRatePerPeriodFormatted;
|
||||
}
|
||||
|
||||
public String getInArrearsToleranceAmountFormatted() {
|
||||
return inArrearsToleranceAmountFormatted;
|
||||
}
|
||||
|
||||
public void setInArrearsToleranceAmountFormatted(
|
||||
String inArrearsToleranceAmountFormatted) {
|
||||
this.inArrearsToleranceAmountFormatted = inArrearsToleranceAmountFormatted;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user