final InterestCalculationPeriodMethod interestCalculationPeriodMethod = InterestCalculationPeriodMethod.SAME_AS_REPAYMENT_PERIOD;
final Integer repayEvery = Integer.valueOf(3);
final PeriodFrequencyType repaymentFrequencyType = PeriodFrequencyType.MONTHS;
final Integer defaultNumberOfRepayments = Integer.valueOf(4);
final AmortizationMethod amortizationMethod = AmortizationMethod.EQUAL_INSTALLMENTS;
final BigDecimal inArrearsTolerance = BigDecimal.ZERO;
return createLoanProductRelatedDetail(currency, defaultPrincipal, defaultNominalInterestRatePerPeriod, interestPeriodFrequencyType,
defaultAnnualNominalInterestRate, interestMethod, interestCalculationPeriodMethod, repayEvery, repaymentFrequencyType,