Create a flat loan product using 30 days p/m and 360 days p/y repayment type . create a loan using this product
For example: If this works correctly and I do a 30 day loan with 20% per month interest inenvironment I would expect the interest on 1.000$ to be $200. Right now because it defaults to DefaultPaymentPeriodsInOneYearCalculator using the
method public Integer calculate(final PeriodFrequencyType repaymentFrequencyType)
which uses hard coded days in a year as 365 instead of 360 which was created with the product. when previewing the schedule it shows 197.23 instead of 200 dollars.