Interface PaymentGatewayRollbackService
-
- All Superinterfaces:
PaymentGatewayTypeAware
public interface PaymentGatewayRollbackService extends 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
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
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
-
-