@Service
@Transactional(readOnly=true)
@Scope(value="prototype")
public class LicenseBillService
extends org.egov.demand.interfaces.BillServiceInterface
implements org.egov.collection.integration.services.BillingIntegrationService
| Modifier and Type | Field and Description |
|---|---|
protected License |
license |
static String |
TL_FUNCTION_CODE |
| Constructor and Description |
|---|
LicenseBillService() |
| Modifier and Type | Method and Description |
|---|---|
void |
apportionPaidAmount(String billReferenceNumber,
BigDecimal actualAmountPaid,
ArrayList<org.egov.collection.entity.ReceiptDetail> receiptDetailsArray) |
BigDecimal |
calculateTotalCollectedAmt(org.egov.collection.integration.models.BillReceiptInfo bri,
List<org.egov.demand.model.EgBillDetails> billDetList) |
void |
cancelBill() |
String |
constructAdditionalInfoForReceipt(org.egov.collection.integration.models.BillReceiptInfo billReceiptInfo) |
org.egov.demand.model.EgDemandDetails |
createDemandDetails(org.egov.demand.model.EgDemandReason egDemandReason,
BigDecimal amtCollected,
BigDecimal dmdAmount) |
List<org.egov.demand.model.EgBillDetails> |
getBilldetails(org.egov.demand.interfaces.Billable billObj) |
protected org.egov.commons.Installment |
getCurrentInstallment(org.egov.infra.admin.master.entity.Module module) |
BigDecimal |
getEgBillDetailCollection(org.egov.demand.model.EgBillDetails billdet) |
protected org.egov.commons.Installment |
getInstallmentForDate(Date date,
org.egov.infra.admin.master.entity.Module module) |
Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> |
getInstallmentWisePenaltyDemandDetails(org.egov.demand.model.EgDemand currentDemand) |
BigDecimal |
getTotalChequeAmt(org.egov.collection.integration.models.BillReceiptInfo bri) |
protected org.egov.demand.model.EgdmCollectedReceipt |
persistCollectedReceipts(org.egov.demand.model.EgDemandDetails egDemandDetails,
String receiptNumber,
BigDecimal receiptAmount,
Date receiptDate,
BigDecimal reasonAmount) |
org.egov.collection.integration.models.ReceiptAmountInfo |
receiptAmountBifurcation(org.egov.collection.integration.models.BillReceiptInfo billReceiptInfo) |
protected BigDecimal |
reconcileCollForChequeBounce(org.egov.demand.model.EgDemand demand,
org.egov.collection.integration.models.BillReceiptInfo billRcptInfo) |
protected void |
reconcileCollForRcptCancel(org.egov.demand.model.EgDemand demand,
org.egov.collection.integration.models.BillReceiptInfo billRcptInfo)
Deducts the collected amounts as per the amount of the cancelled receipt.
|
List<org.egov.collection.entity.ReceiptDetail> |
reconstructReceiptDetail(String billReferenceNumber,
BigDecimal actualAmountPaid,
List<org.egov.collection.entity.ReceiptDetail> receiptDetailList) |
void |
setLicense(License license) |
org.egov.demand.model.EgBill |
updateBillDetails(org.egov.collection.integration.models.BillReceiptInfo bri) |
org.egov.demand.model.EgBill |
updateBillForChqBounce(org.egov.demand.model.EgBill egBill,
BigDecimal totalChqAmt) |
Boolean |
updateDemandDetails(org.egov.collection.integration.models.BillReceiptInfo billReceipt) |
boolean |
updateNewReceipt(Set<org.egov.collection.integration.models.BillReceiptInfo> billReceipts) |
void |
updateReceiptDetails(Set<org.egov.collection.integration.models.BillReceiptInfo> billReceipts) |
protected void |
updateReceiptStatusWhenCancelled(String receiptNumber) |
void |
updateWorkflowState(License licenseObj)
update Application status and workflow
|
public static final String TL_FUNCTION_CODE
protected License license
public void setLicense(License license)
public List<org.egov.demand.model.EgBillDetails> getBilldetails(org.egov.demand.interfaces.Billable billObj)
getBilldetails in class org.egov.demand.interfaces.BillServiceInterfacepublic Map<org.egov.commons.Installment,org.egov.demand.model.EgDemandDetails> getInstallmentWisePenaltyDemandDetails(org.egov.demand.model.EgDemand currentDemand)
public org.egov.demand.model.EgDemandDetails createDemandDetails(org.egov.demand.model.EgDemandReason egDemandReason,
BigDecimal amtCollected,
BigDecimal dmdAmount)
public void updateReceiptDetails(Set<org.egov.collection.integration.models.BillReceiptInfo> billReceipts)
updateReceiptDetails in interface org.egov.collection.integration.services.BillingIntegrationService@Transactional public Boolean updateDemandDetails(org.egov.collection.integration.models.BillReceiptInfo billReceipt)
@Transactional public void updateWorkflowState(License licenseObj)
protected void reconcileCollForRcptCancel(org.egov.demand.model.EgDemand demand,
org.egov.collection.integration.models.BillReceiptInfo billRcptInfo)
protected void updateReceiptStatusWhenCancelled(String receiptNumber)
protected BigDecimal reconcileCollForChequeBounce(org.egov.demand.model.EgDemand demand, org.egov.collection.integration.models.BillReceiptInfo billRcptInfo)
@Transactional public boolean updateNewReceipt(Set<org.egov.collection.integration.models.BillReceiptInfo> billReceipts)
public BigDecimal getEgBillDetailCollection(org.egov.demand.model.EgBillDetails billdet)
public org.egov.demand.model.EgBill updateBillForChqBounce(org.egov.demand.model.EgBill egBill,
BigDecimal totalChqAmt)
public org.egov.demand.model.EgBill updateBillDetails(org.egov.collection.integration.models.BillReceiptInfo bri)
throws org.egov.InvalidAccountHeadException
org.egov.InvalidAccountHeadExceptionpublic BigDecimal getTotalChequeAmt(org.egov.collection.integration.models.BillReceiptInfo bri)
public BigDecimal calculateTotalCollectedAmt(org.egov.collection.integration.models.BillReceiptInfo bri, List<org.egov.demand.model.EgBillDetails> billDetList) throws org.egov.InvalidAccountHeadException
org.egov.InvalidAccountHeadExceptionprotected org.egov.demand.model.EgdmCollectedReceipt persistCollectedReceipts(org.egov.demand.model.EgDemandDetails egDemandDetails,
String receiptNumber,
BigDecimal receiptAmount,
Date receiptDate,
BigDecimal reasonAmount)
public void apportionPaidAmount(String billReferenceNumber, BigDecimal actualAmountPaid, ArrayList<org.egov.collection.entity.ReceiptDetail> receiptDetailsArray)
apportionPaidAmount in interface org.egov.collection.integration.services.BillingIntegrationServiceprotected org.egov.commons.Installment getInstallmentForDate(Date date, org.egov.infra.admin.master.entity.Module module)
protected org.egov.commons.Installment getCurrentInstallment(org.egov.infra.admin.master.entity.Module module)
public void cancelBill()
cancelBill in class org.egov.demand.interfaces.BillServiceInterfacepublic List<org.egov.collection.entity.ReceiptDetail> reconstructReceiptDetail(String billReferenceNumber, BigDecimal actualAmountPaid, List<org.egov.collection.entity.ReceiptDetail> receiptDetailList)
reconstructReceiptDetail in interface org.egov.collection.integration.services.BillingIntegrationServicepublic String constructAdditionalInfoForReceipt(org.egov.collection.integration.models.BillReceiptInfo billReceiptInfo)
constructAdditionalInfoForReceipt in interface org.egov.collection.integration.services.BillingIntegrationServicepublic org.egov.collection.integration.models.ReceiptAmountInfo receiptAmountBifurcation(org.egov.collection.integration.models.BillReceiptInfo billReceiptInfo)
receiptAmountBifurcation in interface org.egov.collection.integration.services.BillingIntegrationServiceCopyright © 2015–2017 eGovernments Foundation. All rights reserved.