Interface PaymentAuthReversalService

  • All Known Implementing Classes:
    DefaultPaymentAuthReversalService

    public interface PaymentAuthReversalService
    A service responsible for reverse authorizing for an Order's payments.
    • Method Detail

      • reverseRemainingAuthAmounts

        List<TransactionExecutionResponse> reverseRemainingAuthAmounts​(com.broadleafcommerce.order.client.domain.Order order,
                                                                       @Nullable
                                                                       com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Executes reverse authorization(s) for all payments on the Order which are authorized but not captured.
        Parameters:
        order - the order for which authorized payments should be reversed
        contextInfo - context information surrounding multitenant state
        Returns:
        the TransactionExecutionResponses for all the reverse authorize transactions
        Throws:
        PaymentAuthReverseException - if there was an error processing the transactions