Interface PaymentGatewayRollbackService
- All Superinterfaces:
PaymentGatewayTypeAware
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 TypeMethodDescriptiondefault PaymentResponserollbackAuthorize(PaymentRequest transactionToBeRolledBack) default PaymentResponserollbackAuthorizeAndCapture(PaymentRequest transactionToBeRolledBack) default PaymentResponserollbackCapture(PaymentRequest transactionToBeRolledBack) default PaymentResponserollbackRefund(PaymentRequest transactionToBeRolledBack) Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
getGatewayType
-
Method Details
-
rollbackAuthorize
default PaymentResponse rollbackAuthorize(PaymentRequest transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackCapture
default PaymentResponse rollbackCapture(PaymentRequest transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackAuthorizeAndCapture
default PaymentResponse rollbackAuthorizeAndCapture(PaymentRequest transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-
rollbackRefund
default PaymentResponse rollbackRefund(PaymentRequest transactionToBeRolledBack) throws PaymentException - Throws:
PaymentException
-