public interface LatePayPenaltyCalculator
| Modifier and Type | Interface and Description |
|---|---|
static class |
LatePayPenaltyCalculator.LPPenaltyCalcType |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
calculateLPPenaltyForPeriod(Date fromDate,
Date toDate,
BigDecimal amount)
Calculates the Late pay penalty for given amount b/w given period with
interest rate (interest rate will be taken from getPercentage() API)
|
BigDecimal |
calculatePenalty(Date latestCollectedRcptDate,
Date fromDate,
BigDecimal amount)
Calculates the Late pay penalty for given amount from given date to Till date with
interest rate (interest rate will be taken from getPercentage() API)
|
LatePayPenaltyCalculator.LPPenaltyCalcType |
getLPPenaltyCalcType() |
BigDecimal |
getLPPPercentage() |
void |
setPenaltyCalcType(LatePayPenaltyCalculator.LPPenaltyCalcType penaltyType) |
BigDecimal getLPPPercentage()
LatePayPenaltyCalculator.LPPenaltyCalcType getLPPenaltyCalcType()
void setPenaltyCalcType(LatePayPenaltyCalculator.LPPenaltyCalcType penaltyType)
BigDecimal calculateLPPenaltyForPeriod(Date fromDate, Date toDate, BigDecimal amount)
fromDate - - from date to calculate interesttoDate - - to date to calculate interestamount - - amount for which interest to be calculatedBigDecimal calculatePenalty(Date latestCollectedRcptDate, Date fromDate, BigDecimal amount)
fromDate - - from date to calculate interestamount - - amount for which interest to be calculatedCopyright © 2015–2016 eGovernments Foundation. All rights reserved.