Interface SubscriptionBillingEventService<B extends BillingEvent>

All Known Implementing Classes:
DefaultSubscriptionBillingEventService

public interface SubscriptionBillingEventService<B extends BillingEvent>
Service for operating upon a subscription's BillingEvents.
Author:
Chris Kittrell (ckittrell)
  • Method Details

    • generateBillingEventsForNextSubscriptionPeriod

      Collection<B> generateBillingEventsForNextSubscriptionPeriod(SubscriptionNextPeriodBillingEventGenerationRequest billingEventGenerationRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Generates a collection of BillingEvents based on the provided request.
      Parameters:
      billingEventGenerationRequest - payload describing the BillingEvents that are to be generated
      contextInfo - context information around multi-tenant state
      Returns:
      A collection of BillingEvents