Interface PaymentAuthReversalService
-
- All Known Implementing Classes:
DefaultPaymentAuthReversalService
public interface PaymentAuthReversalService
A 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 theOrder
which 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 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
-
-