@Service @Transactional(readOnly=true) public class PenaltyCalculationService extends Object
| Constructor and Description |
|---|
PenaltyCalculationService() |
PenaltyCalculationService(BasicProperty basicProperty,
Map<org.egov.commons.Installment,BigDecimal> installmentWiseDemand,
Map<org.egov.commons.Installment,BigDecimal> installmentWiseCollection,
Map<String,Date> installmentAndLatestCollDate,
Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> installmentWisePenaltyDemandDetail) |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
calculatePenalty(Date effectiveFrom,
BigDecimal tax)
Calculates the penalty from the effective date to the current date
|
Date |
get22ndDayDateAfter21DaysNoticeExpiry(String propertyId) |
Map<org.egov.commons.Installment,Date> |
get90DaysDate(Map<org.egov.commons.Installment,Date> installmentAndBillDate,
Date dateAfter21Days) |
Map<org.egov.commons.Installment,Date> |
getAllBillGenerationDates(BasicProperty basicProperty,
List<org.egov.commons.Installment> installments)
Gives installment wise bill generation date
|
Map<String,Map<org.egov.commons.Installment,BigDecimal>> |
getInstallmentDemandAndCollection(BasicProperty basicProperty,
org.egov.demand.model.EgDemand currentDemand) |
Map<org.egov.commons.Installment,BigDecimal> |
getInstallmentWisePenalty() |
Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> |
getInstallmentWisePenaltyDemandDetails(Property property,
org.egov.demand.model.EgDemand currentDemand) |
Date |
getPenaltyEffectiveDate(Date dateAfterNoticeDaysExpiry) |
Date |
getPenaltyEffectiveForRolloverInstallment(Date latestCollReceiptDate,
Date fromDate)
Gives the date to calculate the penalty from.
|
boolean |
isEarlyPayRebateActive() |
void |
setPropertyTaxUtil(PropertyTaxUtil propertyTaxUtil) |
public PenaltyCalculationService()
public PenaltyCalculationService(BasicProperty basicProperty, Map<org.egov.commons.Installment,BigDecimal> installmentWiseDemand, Map<org.egov.commons.Installment,BigDecimal> installmentWiseCollection, Map<String,Date> installmentAndLatestCollDate, Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> installmentWisePenaltyDemandDetail)
public Map<org.egov.commons.Installment,BigDecimal> getInstallmentWisePenalty() throws org.egov.infra.validation.exception.ValidationException
org.egov.infra.validation.exception.ValidationExceptionpublic BigDecimal calculatePenalty(Date effectiveFrom, BigDecimal tax)
effectiveFrom - tax - public Map<org.egov.commons.Installment,Date> getAllBillGenerationDates(BasicProperty basicProperty, List<org.egov.commons.Installment> installments) throws org.egov.infra.validation.exception.ValidationException
basicProperty - org.egov.infra.validation.exception.ValidationExceptionpublic Map<org.egov.commons.Installment,Date> get90DaysDate(Map<org.egov.commons.Installment,Date> installmentAndBillDate, Date dateAfter21Days)
public Date get22ndDayDateAfter21DaysNoticeExpiry(String propertyId)
basicProperty - public Date getPenaltyEffectiveForRolloverInstallment(Date latestCollReceiptDate, Date fromDate)
latestCollReceiptDate - fromDate - public Map<String,Map<org.egov.commons.Installment,BigDecimal>> getInstallmentDemandAndCollection(BasicProperty basicProperty, org.egov.demand.model.EgDemand currentDemand)
public Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> getInstallmentWisePenaltyDemandDetails(Property property, org.egov.demand.model.EgDemand currentDemand)
public boolean isEarlyPayRebateActive()
public void setPropertyTaxUtil(PropertyTaxUtil propertyTaxUtil)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.