Class DefaultMyFatoorahRollbackService
java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahRollbackService
- All Implemented Interfaces:
MyFatoorahRollbackService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
,com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
The default implementation for
MyFatoorahRollbackService
.- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
ConstructorDescriptionDefaultMyFatoorahRollbackService
(MyFatoorahTransactionService transactionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected MyFatoorahTransactionService
com.broadleafcommerce.paymentgateway.domain.PaymentResponse
rollbackAuthorize
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) com.broadleafcommerce.paymentgateway.domain.PaymentResponse
rollbackAuthorizeAndCapture
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) com.broadleafcommerce.paymentgateway.domain.PaymentResponse
rollbackCapture
(@NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
rollbackRefund
-
Constructor Details
-
DefaultMyFatoorahRollbackService
-
-
Method Details
-
rollbackAuthorize
public com.broadleafcommerce.paymentgateway.domain.PaymentResponse rollbackAuthorize(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException - Specified by:
rollbackAuthorize
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
rollbackCapture
public com.broadleafcommerce.paymentgateway.domain.PaymentResponse rollbackCapture(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException - Specified by:
rollbackCapture
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
rollbackAuthorizeAndCapture
public com.broadleafcommerce.paymentgateway.domain.PaymentResponse rollbackAuthorizeAndCapture(@NonNull @NonNull com.broadleafcommerce.paymentgateway.domain.PaymentRequest transactionToBeRolledBack) throws com.broadleafcommerce.paymentgateway.service.exception.PaymentException - Specified by:
rollbackAuthorizeAndCapture
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
- Throws:
com.broadleafcommerce.paymentgateway.service.exception.PaymentException
-
getGatewayType
- Specified by:
getGatewayType
in interfacecom.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
-
getTransactionService
-