Class BillingEventPaymentEndpoint

java.lang.Object
com.broadleafcommerce.billing.web.endpoint.BillingEventPaymentEndpoint

@FrameworkRestController @FrameworkMapping("/billing-event-payments") @DataRouteByKey("billing") public class BillingEventPaymentEndpoint extends Object
Author:
Dima Myroniuk (dmyroniuk)
  • Field Details

  • Constructor Details

  • Method Details

    • readPaymentEventsByBillingEventId

      @Policy(permissionRoots="BILLING") @FrameworkGetMapping(params="eventId") public List<BillingEventPayment> readPaymentEventsByBillingEventId(@RequestParam("eventId") String eventId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • readBillingEventPaymentByPaymentId

      @Policy(permissionRoots="BILLING") @FrameworkGetMapping("/{paymentId}") public BillingEventPayment readBillingEventPaymentByPaymentId(@PathVariable("paymentId") String paymentId, @ContextOperation(READ) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • createBillingEventPayment

      @Policy(permissionRoots="BILLING") @FrameworkPostMapping public BillingEventPayment createBillingEventPayment(@RequestBody BillingEventPaymentWithTransaction billingEventPaymentWithTransactionRequest, @ContextOperation(CREATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • abortAllBillingEventPaymentsByBillingEventId

      @Policy(permissionRoots="BILLING") @FrameworkPostMapping("/abort") public List<BillingEventPayment> abortAllBillingEventPaymentsByBillingEventId(@RequestParam("eventId") String eventId, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • abortBillingEventPaymentByPaymentId

      @Policy(permissionRoots="BILLING") @FrameworkPostMapping("/abort/{paymentId}") public BillingEventPayment abortBillingEventPaymentByPaymentId(@PathVariable("paymentId") String paymentId, @ContextOperation(UPDATE) com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • getBillingEventPaymentService