Class DefaultMyFatoorahRollbackService

java.lang.Object
com.broadleafcommerce.myfatoorah.service.DefaultMyFatoorahRollbackService
All Implemented Interfaces:
MyFatoorahRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultMyFatoorahRollbackService extends Object implements MyFatoorahRollbackService
The default implementation for MyFatoorahRollbackService.
Author:
Dima Myroniuk (dmyroniuk)
  • Constructor Details

  • 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 interface com.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 interface com.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 interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService
      Throws:
      com.broadleafcommerce.paymentgateway.service.exception.PaymentException
    • getGatewayType

      public String getGatewayType()
      Specified by:
      getGatewayType in interface com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware
    • getTransactionService

      protected MyFatoorahTransactionService getTransactionService()