public class CollectionHelper extends Object
| Constructor and Description |
|---|
CollectionHelper()
Use this constructor when you're only interested in getting the details
of a receipt.
|
CollectionHelper(org.egov.demand.model.EgBill bill)
Use this constructor when you're doing a collection.
|
| Modifier and Type | Method and Description |
|---|---|
org.egov.collection.integration.models.BillReceiptInfo |
executeCollection(org.egov.dcb.bean.Payment payment,
String source)
Executes a collection.
|
org.egov.collection.integration.models.BillReceiptInfo |
generateMiscReceipt(org.egov.dcb.bean.Payment payment) |
boolean |
getIsMutationFeePayment() |
org.egov.collection.integration.models.BillReceiptInfo |
getReceiptInfo(String receiptNumber)
Fetches the details of a given receipt number.
|
org.egov.collection.integration.models.BillInfoImpl |
prepareBillInfo(BigDecimal amountPaid,
org.egov.collection.integration.models.BillInfo.COLLECTIONTYPE collType,
String source)
Apportions the paid amount amongst the appropriate GL codes and returns
the collections object that can be sent to the collections API for
processing.
|
void |
setIsMutationFeePayment(boolean isMutationFeePayment) |
public CollectionHelper()
public CollectionHelper(org.egov.demand.model.EgBill bill)
bill - public org.egov.collection.integration.models.BillReceiptInfo executeCollection(org.egov.dcb.bean.Payment payment,
String source)
payment - public org.egov.collection.integration.models.BillReceiptInfo generateMiscReceipt(org.egov.dcb.bean.Payment payment)
public org.egov.collection.integration.models.BillReceiptInfo getReceiptInfo(String receiptNumber)
receiptNumber - public org.egov.collection.integration.models.BillInfoImpl prepareBillInfo(BigDecimal amountPaid, org.egov.collection.integration.models.BillInfo.COLLECTIONTYPE collType, String source)
bill - amountPaid - public boolean getIsMutationFeePayment()
public void setIsMutationFeePayment(boolean isMutationFeePayment)
Copyright © 2015–2017 eGovernments Foundation. All rights reserved.