Interface PaymentGatewayRollbackService
- All Known Implementing Classes:
AbstractPaymentGatewayRollbackService
,PassthroughPaymentRollbackServiceImpl
public interface PaymentGatewayRollbackService
This API allows each module to provide its own implementation for rollback. Each module needs to implement this if for some reason the checkout workflow fails after payments have been finalized and the submitted transaction needs to rollback.
- Author:
- Elbert Bautista (elbertbautista)
-
Method Summary
Modifier and TypeMethodDescriptionrollbackAuthorize
(PaymentRequestDTO transactionToBeRolledBack) rollbackAuthorizeAndCapture
(PaymentRequestDTO transactionToBeRolledBack) rollbackCapture
(PaymentRequestDTO transactionToBeRolledBack) rollbackRefund
(PaymentRequestDTO transactionToBeRolledBack)
-
Method Details
-
rollbackAuthorize
PaymentResponseDTO rollbackAuthorize(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackCapture
PaymentResponseDTO rollbackCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackAuthorizeAndCapture
PaymentResponseDTO rollbackAuthorizeAndCapture(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackRefund
PaymentResponseDTO rollbackRefund(PaymentRequestDTO transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-