Calculating Payable Amount for a Short-Term Loan Product