Interface TransactionSummaryService
- All Known Implementing Classes:
DefaultTransactionSummaryService
public interface TransactionSummaryService
This service provides a mechanism to build a
TransactionSummary
based on the state of
Payments
identified by their Payment.getOwnerType()
&
Payment.getOwnerId()
, and their PaymentTransactions
.- Author:
- Chris Kittrell (ckittrell)
-
Method Summary
Modifier and TypeMethodDescriptionbuildTransactionSummary
(TransactionSummaryRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aTransactionSummary
based on thePaymentTransactions
of thePayments
identified byTransactionSummaryRequest.getOwnerType()
&TransactionSummaryRequest.getOwnerId()
.
-
Method Details
-
buildTransactionSummary
TransactionSummary buildTransactionSummary(TransactionSummaryRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aTransactionSummary
based on thePaymentTransactions
of thePayments
identified byTransactionSummaryRequest.getOwnerType()
&TransactionSummaryRequest.getOwnerId()
.- Parameters:
request
- TheTransactionSummaryRequest
used to identifyPayments
used to create theTransactionSummary
and the attributes used to filter for specific transaction sets.contextInfo
- the contextInfo for the request- Returns:
- a
TransactionSummary
based on thePaymentTransactions
of thePayments
identified byTransactionSummaryRequest.getOwnerType()
&TransactionSummaryRequest.getOwnerId()
-