@Transactional(readOnly=true) public class CollectionIntegrationServiceImpl extends org.egov.infstr.services.PersistenceService<ReceiptHeader,Long> implements CollectionIntegrationService
| Constructor and Description |
|---|
CollectionIntegrationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
cancelReceipt(PaymentInfoSearchRequest cancelReq)
This method cancel the receipt information provided by the billing system
|
BillReceiptInfo |
createMiscellaneousReceipt(BillInfo bill,
List<PaymentInfo> paymentInfoList)
This method creates the miscellaneous receipt for the given bill and payment information
|
BillReceiptInfo |
createReceipt(BillInfo bill,
List<PaymentInfo> paymentInfoList)
This method creates the receipt for the given bill and payment information
|
List<RestAggregatePaymentInfo> |
getAggregateReceiptTotal(PaymentInfoSearchRequest aggrReq)
This method returns the count of receipts created with the sum total of receipt amount for the given date range
|
Map<String,List<BillReceiptInfo>> |
getBillReceiptInfo(String serviceCode,
Set<String> refNums)
Returns the bill receipt information for given set of reference numbers (typically bill numbers)
|
List<BillReceiptInfo> |
getBillReceiptInfo(String serviceCode,
String refNum)
Returns the list of bill receipt information objects for given reference number (typically bill number).
|
RestReceiptInfo |
getDetailsByTransactionId(PaymentInfoSearchRequest paymentInfoSearchRequest)
This method returns the receipt information for the transaction id and channel information provided by the billing system.
|
Map<String,List<BillReceiptInfo>> |
getInstrumentReceiptInfo(String serviceCode,
Set<String> instrumentNums)
Returns the bill receipt information for given set of instrument numbers.
|
List<BillReceiptInfo> |
getInstrumentReceiptInfo(String serviceCode,
String instrumentNum)
Returns set of bill receipt information for given instrument number.
|
List<BillReceiptInfo> |
getOnlinePendingReceipts(String serviceCode,
String consumerCode)
Returns the online pending bill receipt information for given service and consumer code
|
List<ReceiptDetail> |
getReceiptDetailListByReceiptNumber(String receiptNumber)
This method returns sorted list of only the paid receipt detail for the receipt number provided
|
List<RestReceiptInfo> |
getReceiptDetailsByDateAndService(PaymentInfoSearchRequest aggrReq)
This method returns the list of receipt created in the system for the given date range and service code of the billing
system.
|
Map<String,BillReceiptInfo> |
getReceiptInfo(String serviceCode,
Set<String> receiptNums)
Returns HashMap of the bill receipt information for given set of receipt numbers
|
BillReceiptInfo |
getReceiptInfo(String serviceCode,
String receiptNum)
Returns the bill receipt information for given receipt number
|
PaymentRequest |
processMobilePayments(BillInfoImpl billInfo)
This method returns Payment Request to process payments through mobile
|
void |
setCollectionCommon(CollectionCommon collectionCommon) |
void |
setCollectionsUtil(CollectionsUtil collectionsUtil) |
void |
setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService) |
void |
setReceiptHeaderService(ReceiptHeaderService receiptHeaderService) |
addFilterCriteriaForObject, addIndexparams, applyAuditing, applyAuditing, create, delete, find, find, findAll, findAll, findAllBy, findAllByNamedQuery, findByExample, findById, findById, findByIdWithJoinFetch, findByNamedQuery, findPageBy, findPageByNamedQuery, getNamedQuery, getSearchSession, getSession, getType, indexEntity, load, merge, persist, search, search, update, validate, validateModelpublic void setReceiptHeaderService(ReceiptHeaderService receiptHeaderService)
public void setCollectionsUtil(CollectionsUtil collectionsUtil)
public List<BillReceiptInfo> getBillReceiptInfo(String serviceCode, String refNum)
CollectionIntegrationServicegetBillReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systemrefNum - The bill reference numberpublic Map<String,List<BillReceiptInfo>> getBillReceiptInfo(String serviceCode, Set<String> refNums)
CollectionIntegrationServicegetBillReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systemrefNums - Set of bill reference numberspublic List<BillReceiptInfo> getInstrumentReceiptInfo(String serviceCode, String instrumentNum)
CollectionIntegrationServicegetInstrumentReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systeminstrumentNum - The instrument numberpublic Map<String,List<BillReceiptInfo>> getInstrumentReceiptInfo(String serviceCode, Set<String> instrumentNums)
CollectionIntegrationServicegetInstrumentReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systeminstrumentNums - Set of instrument numberspublic BillReceiptInfo getReceiptInfo(String serviceCode, String receiptNum)
CollectionIntegrationServicegetReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systemreceiptNum - The Collections or Manual Receipt Numberpublic RestReceiptInfo getDetailsByTransactionId(PaymentInfoSearchRequest paymentInfoSearchRequest)
CollectionIntegrationServicegetDetailsByTransactionId in interface CollectionIntegrationServiceRestReceiptInfo containing details of Receipt Informationpublic Map<String,BillReceiptInfo> getReceiptInfo(String serviceCode, Set<String> receiptNums)
CollectionIntegrationServicegetReceiptInfo in interface CollectionIntegrationServiceserviceCode - The service code of the billing systemreceiptNums - Set of Collections or Manual Receipt Numberpublic BillReceiptInfo createReceipt(BillInfo bill, List<PaymentInfo> paymentInfoList)
CollectionIntegrationServicecreateReceipt in interface CollectionIntegrationServicebill - an instance of BillInfo containing the bill information.paymentInfoList - a List of PaymentInfo containing the payment information. A List is used
in order to accommodate payment using multiple cheques/DDs for a single receipt. In all other cases, it should be taken
care that only a single mode of payment is permitted, i.e., the List should contain a single entry.BillReceiptInfo containing all details of the created receipt.public List<BillReceiptInfo> getOnlinePendingReceipts(String serviceCode, String consumerCode)
CollectionIntegrationServicegetOnlinePendingReceipts in interface CollectionIntegrationServiceserviceCode - The service code of the billing systemconsumerCode - The consumer code of the billing systempublic BillReceiptInfo createMiscellaneousReceipt(BillInfo bill, List<PaymentInfo> paymentInfoList)
CollectionIntegrationServicecreateMiscellaneousReceipt in interface CollectionIntegrationServicebill - an instance of BillInfo containing the bill information.paymentInfoList - a List of PaymentInfo containing the payment information. A List is used
in order to accommodate payment using multiple cheques/DDs for a single receipt. In all other cases, it should be taken
care that only a single mode of payment is permitted, i.e., the List should contain a single entry.BillReceiptInfo containing all details of the created receipt.public List<RestAggregatePaymentInfo> getAggregateReceiptTotal(PaymentInfoSearchRequest aggrReq)
CollectionIntegrationServicegetAggregateReceiptTotal in interface CollectionIntegrationServiceRestAggregatePaymentInfo containing aggregate information of receiptspublic List<RestReceiptInfo> getReceiptDetailsByDateAndService(PaymentInfoSearchRequest aggrReq)
CollectionIntegrationServicegetReceiptDetailsByDateAndService in interface CollectionIntegrationServiceRestReceiptInfo containing details of Receipt Informationpublic String cancelReceipt(PaymentInfoSearchRequest cancelReq)
CollectionIntegrationServicecancelReceipt in interface CollectionIntegrationServicepublic List<ReceiptDetail> getReceiptDetailListByReceiptNumber(String receiptNumber)
CollectionIntegrationServicegetReceiptDetailListByReceiptNumber in interface CollectionIntegrationServiceReceiptDetail@Transactional public PaymentRequest processMobilePayments(BillInfoImpl billInfo) throws org.egov.infra.validation.exception.ValidationException
CollectionIntegrationServiceprocessMobilePayments in interface CollectionIntegrationServiceorg.egov.infra.validation.exception.ValidationExceptionpublic void setCollectionCommon(CollectionCommon collectionCommon)
public void setPersistenceService(org.egov.infstr.services.PersistenceService persistenceService)
Copyright © 2015–2016 eGovernments Foundation. All rights reserved.