Interface PaymentAuthReversalService
- All Known Implementing Classes:
DefaultPaymentAuthReversalService
public interface PaymentAuthReversalService
A service responsible for reverse authorizing for an
Order
's payments.-
Method Summary
Modifier and TypeMethodDescriptionreverseRemainingAuthAmounts
(com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Executes reverse authorization(s) for all payments on theOrder
which are authorized but not captured.
-
Method Details
-
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 theOrder
which are authorized but not captured.- Parameters:
order
- the order for which authorized payments should be reversedcontextInfo
- context information surrounding multitenant state- Returns:
- the
TransactionExecutionResponses
for all the reverse authorize transactions - Throws:
PaymentAuthReverseException
- if there was an error processing the transactions
-