Uses of Class
com.avoka.fc.core.entity.PaymentLog
Package
Description
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.
Provides the SmartForm Manager service classes.
Provides the Email Client Services.
Provides payment related utility classes.
Provides payment reconciliation related utility classes.
Provides web automated test services.
Provides Value Object persistent entity classes.
-
Uses of PaymentLog in com.avoka.fc.core.dao
Modifier and TypeMethodDescriptionPaymentLogDao.getByPaymentLogKey
(String paymentLogKey) Return the payment log for the specified payment log keyPaymentLogDao.getLatestCompletedPayment
(Submission submission) Return latest completed payment log for a submissionPaymentLogDao.getLatestPaymentLog
(Submission submission) Return the latest PaymentLog for the given submissionPaymentLogDao.getPaymentLogById
(Object id) Return the payment log with the specified OIDModifier and TypeMethodDescriptionPaymentLogDao.getOutstandingTransactions
(int timeout, String serviceDefinitionCode) Return all payment log entries that have not received a response, where the request is older than a specified number of minutesPaymentLogDao.getPaymentLogList
(String clientId, String paymentIdentifier, String formReceiptNo, Object drTransactionNo, String serviceCode, Integer paymentAmountMinCents, Integer paymentAmountMaxCents, Date startDate, Date endDate) Return the list of payment log records for the specified search criteriaPaymentLogDao.getTransactionsByBatchNo
(String batchNo, Client client, String serviceDefinitionCode) Return payment log entries for the specified batch, client and payment service -
Uses of PaymentLog in com.avoka.fc.core.entity.auto
Modifier and TypeFieldDescriptionstatic final org.apache.cayenne.exp.Property
<List<PaymentLog>> _Submission.PAYMENTS
Provides the 'PAYMENTS' property.Modifier and TypeMethodDescriptionvoid
_Submission.addToPayments
(PaymentLog obj) Add the Payments object.void
_Submission.removeFromPayments
(PaymentLog obj) Remove the Payments object. -
Uses of PaymentLog in com.avoka.fc.core.service
Modifier and TypeMethodDescriptionSubmissionService.getPendingPaymentLog
(Submission submission, String serviceCode) Returns the most recent payment log that is pending for the given submission and payment service codeModifier and TypeMethodDescriptionIEmailService.sendDuplicatePaymentAlertEmailToClientAdmin
(PaymentLog paymentLog) Send a duplicate payment alert email related to a payment log entry and return the sent email body message.IEmailService.sendFraudAlertEmailToClientAdmin
(PaymentLog paymentLog) Send a fraud alert email related to a payment log entry and return the sent email body message. -
Uses of PaymentLog in com.avoka.fc.core.service.email
Modifier and TypeMethodDescriptionAbstractEmailService.sendDuplicatePaymentAlertEmailToClientAdmin
(PaymentLog paymentLog) Send a duplicate payment alert email related to a payment log entry and return the sent email body message.AbstractEmailService.sendFraudAlertEmailToClientAdmin
(PaymentLog paymentLog) Send a fraud alert email related to a payment log entry and return the sent email body message. -
Uses of PaymentLog in com.avoka.fc.core.service.payment
Modifier and TypeMethodDescriptionIHostedPaymentService.cancelPayment
(Submission submission, jakarta.servlet.http.HttpServletRequest req) Cancels the payment internally in SFM.IHostedPaymentService.completePayment
(Submission submission, jakarta.servlet.http.HttpServletRequest req) Confirms, validates, and finalizes the payment: Confirms with the 3rd party payment gateway that the callback request is genuine Validates the payment details (such as amount) Update the PaymentLog and Submission entities with the transaction details and status.IHostedPaymentService.errorPayment
(Submission submission, jakarta.servlet.http.HttpServletRequest req) Receives a error signal from the payment gateway and record the error internally in SFM.IHostedPaymentService.handlePaymentCallback
(Submission submission, jakarta.servlet.http.HttpServletRequest req) Depending on the payment gateway implementation, this method may be invoked prior to completePayment and may need to perform the same set of tasks.IHostedPaymentService.identifyTransaction
(Client client, jakarta.servlet.http.HttpServletRequest request) Attempt to lookup a payment log entry using the supplied HTTP requestModifier and TypeMethodDescriptionvoid
IHostedPaymentService.cancelPayment
(PaymentLog paymentLog, jakarta.servlet.http.HttpServletRequest req) Cancels the payment internally in SFM.void
IHostedPaymentService.completePayment
(PaymentLog paymentLog, jakarta.servlet.http.HttpServletRequest req) Confirms, validates, and finalizes the payment: Confirms with the 3rd party payment gateway that the callback request is genuine Validates the payment details (such as amount) Update the PaymentLog and Submission entities with the transaction details and status.void
IHostedPaymentService.errorPayment
(PaymentLog paymentLog, jakarta.servlet.http.HttpServletRequest req) Receives a error signal from the payment gateway and record the error internally in SFM.void
IHostedPaymentService.handlePaymentCallback
(PaymentLog paymentLog, jakarta.servlet.http.HttpServletRequest req) Depending on the payment gateway implementation, this method may be invoked prior to completePayment and may need to perform the same set of tasks.IPaymentGatewayService.performQuery
(PaymentLog paymentLog) Perform an adhoc payment gateway query against the given payment log. -
Uses of PaymentLog in com.avoka.fc.core.service.payment.reconciliation
Modifier and TypeMethodDescriptionIFileBasedReconciliation.reconciliationIdentifyTransaction
(String key) This method will identify the payment log entry represented by the key in the reconciliation fileModifier and TypeMethodDescriptionvoid
IFileBasedReconciliation.processReconciliationItem
(PaymentLog paymentLog, ReconciliationItem reconciliationItem) This method will process the file reconcilaition item.static void
ReconciliationUtils.reconcilePaymentLog
(PaymentLog paymentLog, IFileBasedReconciliation paymentGateway, Map<String, ReconciliationFile> reconciliationFiles) Attempt to reconcile a individual payment log.void
IFileBasedReconciliation.recordFailedTransaction
(PaymentLog paymentLog, String code, String reason) This method will mark a PaymentLog entry as failed. -
Uses of PaymentLog in com.avoka.fc.core.service.test
Modifier and TypeMethodDescriptionMockEntityService.createPaymentLog
(Submission sub) Create a payment log entity. -
Uses of PaymentLog in com.avoka.tm.vo
ModifierConstructorDescriptionPaymentLog
(PaymentLog paymentLog) Create a PaymentLog value object with the given parameters.