Class DefaultVerifoneRollbackService

  • All Implemented Interfaces:
    VerifoneRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayRollbackService, com.broadleafcommerce.paymentgateway.service.PaymentGatewayTypeAware

    public class DefaultVerifoneRollbackService
    extends Object
    implements VerifoneRollbackService
    The default implementation for VerifoneRollbackService.
    Author:
    Dima Myroniuk (dmyroniuk)
    • Constructor Detail

      • DefaultVerifoneRollbackService

        public DefaultVerifoneRollbackService​(VerifoneTransactionService verifoneTransactionService)
    • Method Detail

      • 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