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 aTransactionSummarybased on thePaymentTransactionsof thePaymentsidentified byTransactionSummaryRequest.getOwnerType()&TransactionSummaryRequest.getOwnerId().
-
Method Details
-
buildTransactionSummary
TransactionSummary buildTransactionSummary(TransactionSummaryRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds aTransactionSummarybased on thePaymentTransactionsof thePaymentsidentified byTransactionSummaryRequest.getOwnerType()&TransactionSummaryRequest.getOwnerId().- Parameters:
request- TheTransactionSummaryRequestused to identifyPaymentsused to create theTransactionSummaryand the attributes used to filter for specific transaction sets.contextInfo- the contextInfo for the request- Returns:
- a
TransactionSummarybased on thePaymentTransactionsof thePaymentsidentified byTransactionSummaryRequest.getOwnerType()&TransactionSummaryRequest.getOwnerId()
-