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