Class DefaultAdyenRollbackService

java.lang.Object
com.broadleafcommerce.adyen.service.DefaultAdyenRollbackService
All Implemented Interfaces:
AdyenRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

public class DefaultAdyenRollbackService extends Object implements AdyenRollbackService
The default implementation for AdyenRollbackService.
  • 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 AdyenTransactionService getTransactionService()