Class PaymentTransactionManagementEndpoint

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

@FrameworkRestController @FrameworkMapping("/payment-transactions") @DataRouteByKey("paymentTransaction") public class PaymentTransactionManagementEndpoint extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

  • Constructor Details

  • Method Details

    • claimTransactionsForRequest

      @FrameworkPostMapping("/{paymentId}/claim-transactions-for-request") @Policy(permissionRoots="CLAIM_TRANSACTIONS_FOR_REQUEST") public PaymentSummary claimTransactionsForRequest(@PathVariable("paymentId") String paymentId, @RequestParam String requestId, @RequestParam("transactionType") String transactionType, @RequestParam(value="resetTransactionReversalState",required=false,defaultValue="false") boolean resetTransactionReversalState, PaymentLockInfo paymentLockInfo, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
    • getPaymentService

      protected PaymentService<Payment> getPaymentService()
    • getPaymentSummaryService

      protected PaymentSummaryService getPaymentSummaryService()
    • getPaymentTransactionService

      protected PaymentTransactionService<PaymentTransaction> getPaymentTransactionService()