Class TransactionSummaryEndpoint

java.lang.Object
com.broadleafcommerce.paymenttransaction.web.endpoint.TransactionSummaryEndpoint

@FrameworkRestController @FrameworkMapping("/transaction-summaries") @DataRouteByKey("paymentTransaction") public class TransactionSummaryEndpoint extends Object
Author:
Chris Kittrell (ckittrell)
  • Field Details

  • Constructor Details

    • TransactionSummaryEndpoint

      public TransactionSummaryEndpoint(TransactionSummaryService transactionSummaryService, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
  • Method Details

    • readByOwningEntity

      @FrameworkGetMapping(params={"ownerType","ownerId"}) @Policy(permissionRoots="SYSTEM_TRANSACTION_SUMMARY") public TransactionSummary readByOwningEntity(@ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo context, @RequestParam String ownerType, @RequestParam String ownerId, @RequestParam(required=false,defaultValue="false") boolean shouldIncludeFailedTransactions, @RequestParam(required=false,defaultValue="false") boolean shouldIncludeReversedOrReversalTransactions)
    • getTransactionSummaryService

      protected TransactionSummaryService getTransactionSummaryService()
    • getTypeFactory

      protected com.broadleafcommerce.common.extension.TypeFactory getTypeFactory()