public class InvoiceDispatcher
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceDispatcher.FutureAccountNotifications |
Constructor and Description |
---|
InvoiceDispatcher(InvoiceGenerator generator,
AccountInternalApi accountApi,
BillingInternalApi billingApi,
SubscriptionBaseInternalApi SubscriptionApi,
InvoiceDao invoiceDao,
InternalCallContextFactory internalCallContextFactory,
InvoicePluginDispatcher invoicePluginDispatcher,
org.killbill.commons.locker.GlobalLocker locker,
org.killbill.bus.api.PersistentBus eventBus,
org.killbill.notificationq.api.NotificationQueueService notificationQueueService,
InvoiceConfig invoiceConfig,
org.killbill.clock.Clock clock,
ParkedAccountsManager parkedAccountsManager) |
Modifier and Type | Method and Description |
---|---|
Invoice |
processAccount(boolean isApiCall,
java.util.UUID accountId,
org.joda.time.LocalDate targetDate,
DryRunArguments dryRunArguments,
boolean isRescheduled,
InternalCallContext context) |
Invoice |
processAccountFromNotificationOrBusEvent(java.util.UUID accountId,
org.joda.time.LocalDate targetDate,
DryRunArguments dryRunArguments,
boolean isRescheduled,
InternalCallContext context) |
void |
processParentInvoiceForAdjustments(Account childAccount,
java.util.UUID childInvoiceId,
InternalCallContext context) |
void |
processParentInvoiceForAdjustmentsWithLock(Account account,
java.util.UUID childInvoiceId,
InternalCallContext context) |
void |
processParentInvoiceForInvoiceGeneration(Account childAccount,
java.util.UUID childInvoiceId,
InternalCallContext context) |
void |
processSubscriptionForInvoiceGeneration(EffectiveSubscriptionInternalEvent transition,
InternalCallContext context) |
void |
processSubscriptionForInvoiceGeneration(java.util.UUID subscriptionId,
org.joda.time.LocalDate targetDate,
boolean isRescheduled,
InternalCallContext context) |
void |
processSubscriptionForInvoiceNotification(java.util.UUID subscriptionId,
org.joda.time.LocalDate targetDate,
InternalCallContext context) |
void |
processSubscriptionStartRequestedDate(RequestedSubscriptionInternalEvent transition,
InternalCallContext context) |
@Inject public InvoiceDispatcher(InvoiceGenerator generator, AccountInternalApi accountApi, BillingInternalApi billingApi, SubscriptionBaseInternalApi SubscriptionApi, InvoiceDao invoiceDao, InternalCallContextFactory internalCallContextFactory, InvoicePluginDispatcher invoicePluginDispatcher, org.killbill.commons.locker.GlobalLocker locker, org.killbill.bus.api.PersistentBus eventBus, org.killbill.notificationq.api.NotificationQueueService notificationQueueService, InvoiceConfig invoiceConfig, org.killbill.clock.Clock clock, ParkedAccountsManager parkedAccountsManager)
public void processSubscriptionStartRequestedDate(RequestedSubscriptionInternalEvent transition, InternalCallContext context)
public void processSubscriptionForInvoiceGeneration(EffectiveSubscriptionInternalEvent transition, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public void processSubscriptionForInvoiceGeneration(java.util.UUID subscriptionId, org.joda.time.LocalDate targetDate, boolean isRescheduled, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public void processSubscriptionForInvoiceNotification(java.util.UUID subscriptionId, org.joda.time.LocalDate targetDate, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public Invoice processAccountFromNotificationOrBusEvent(java.util.UUID accountId, @Nullable org.joda.time.LocalDate targetDate, @Nullable DryRunArguments dryRunArguments, boolean isRescheduled, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public Invoice processAccount(boolean isApiCall, java.util.UUID accountId, @Nullable org.joda.time.LocalDate targetDate, @Nullable DryRunArguments dryRunArguments, boolean isRescheduled, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public void processParentInvoiceForInvoiceGeneration(Account childAccount, java.util.UUID childInvoiceId, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public void processParentInvoiceForAdjustments(Account childAccount, java.util.UUID childInvoiceId, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
public void processParentInvoiceForAdjustmentsWithLock(Account account, java.util.UUID childInvoiceId, InternalCallContext context) throws InvoiceApiException
InvoiceApiException
Copyright © 2010-2018. All Rights Reserved.