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 Summary
Modifier and TypeMethodDescriptiongenerateBillingEventsForNextSubscriptionPeriod(SubscriptionNextPeriodBillingEventGenerationRequest billingEventGenerationRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Generates a collection ofBillingEventsbased on the provided request.
-
Method Details
-
generateBillingEventsForNextSubscriptionPeriod
Collection<B> generateBillingEventsForNextSubscriptionPeriod(SubscriptionNextPeriodBillingEventGenerationRequest billingEventGenerationRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Generates a collection ofBillingEventsbased on the provided request.- Parameters:
billingEventGenerationRequest- payload describing theBillingEventsthat are to be generatedcontextInfo- context information around multi-tenant state- Returns:
- A collection of
BillingEvents
-