public class BillingIntegrationServiceStub extends Object implements BillingIntegrationService
EVENT_INSTRUMENT_BOUNCED, EVENT_RECEIPT_CANCELLED, EVENT_RECEIPT_CREATED| Constructor and Description |
|---|
BillingIntegrationServiceStub() |
| Modifier and Type | Method and Description |
|---|---|
void |
apportionPaidAmount(String billReferenceNumber,
BigDecimal actualAmountPaid,
ArrayList<ReceiptDetail> receiptDetailsArray)
Collection system will invoke this method when the billing system send "<enablebillapportioning> as true in the
bill-xml.
|
String |
constructAdditionalInfoForReceipt(BillReceiptInfo billReceiptInfo)
Collection system will invoke billing system to frame up the additional message to be printed in receipt
|
ReceiptAmountInfo |
receiptAmountBifurcation(BillReceiptInfo billReceiptInfo)
Collection system invokes billing system to get the amount bifurcation information from
|
List<ReceiptDetail> |
reconstructReceiptDetail(String billReferenceNumber,
BigDecimal actualAmountPaid,
List<ReceiptDetail> receiptDetailList)
Collection system will invoke this method only when this receipt status is PENDING and there is one more receipt in system
created on later/same day with status as APPROVED/SUBMITTED/TO_BE_SUBMITTED
|
void |
updateReceiptDetails(Set<BillReceiptInfo> billReceipts)
This method needs to be implemented in order to update the billing system with the bill receipt information
|
public void updateReceiptDetails(Set<BillReceiptInfo> billReceipts) throws org.egov.infra.exception.ApplicationRuntimeException
BillingIntegrationServiceupdateReceiptDetails in interface BillingIntegrationServicebillReceipts - a Set of BillReceiptInfo containing the bill receipt, receipt account and
receipt instrument information. The information also includes the event for which the billing system needs to be updated.org.egov.infra.exception.ApplicationRuntimeExceptionpublic void apportionPaidAmount(String billReferenceNumber, BigDecimal actualAmountPaid, ArrayList<ReceiptDetail> receiptDetailsArray)
BillingIntegrationServiceapportionPaidAmount in interface BillingIntegrationServicebillReferenceNumber - Bill Reference Number of the bill send by billing systemactualAmountPaid - Acutal amount paid at the counterreceiptDetailsArray - List of ReceiptDetails object associated with this billpublic List<ReceiptDetail> reconstructReceiptDetail(String billReferenceNumber, BigDecimal actualAmountPaid, List<ReceiptDetail> receiptDetailList)
BillingIntegrationServicereconstructReceiptDetail in interface BillingIntegrationServicebillReferenceNumber - Bill Reference Number of the bill send by billing systemactualAmountPaid - Actual amount paid by the citizenreceiptDetailList - List of existing receipt detailspublic String constructAdditionalInfoForReceipt(BillReceiptInfo billReceiptInfo)
BillingIntegrationServiceconstructAdditionalInfoForReceipt in interface BillingIntegrationServicepublic ReceiptAmountInfo receiptAmountBifurcation(BillReceiptInfo billReceiptInfo)
BillingIntegrationServicereceiptAmountBifurcation in interface BillingIntegrationServiceCopyright © 2015–2017 eGovernments Foundation. All rights reserved.