public class OverdueStateApplicator extends Object
| Constructor and Description |
|---|
OverdueStateApplicator(BlockingInternalApi accessApi,
AccountInternalApi accountApi,
EntitlementApi entitlementApi,
EntitlementInternalApi entitlementInternalApi,
org.killbill.clock.Clock clock,
OverduePoster checkPoster,
OverdueEmailGenerator overdueEmailGenerator,
EmailConfig config,
org.killbill.bus.api.PersistentBus bus,
TagInternalApi tagApi,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(OverdueStateSet overdueStateSet,
BillingState billingState,
ImmutableAccountData account,
org.killbill.billing.overdue.api.OverdueState previousOverdueState,
org.killbill.billing.overdue.api.OverdueState nextOverdueState,
InternalCallContext context) |
void |
clear(ImmutableAccountData account,
org.killbill.billing.overdue.api.OverdueState previousOverdueState,
org.killbill.billing.overdue.api.OverdueState clearState,
InternalCallContext context) |
protected void |
clearFutureNotification(ImmutableAccountData account,
InternalCallContext context) |
protected void |
createFutureNotification(ImmutableAccountData account,
org.joda.time.DateTime timeOfNextCheck,
InternalCallContext context) |
protected void |
storeNewState(ImmutableAccountData blockable,
org.killbill.billing.overdue.api.OverdueState nextOverdueState,
InternalCallContext context) |
@Inject public OverdueStateApplicator(BlockingInternalApi accessApi, AccountInternalApi accountApi, EntitlementApi entitlementApi, EntitlementInternalApi entitlementInternalApi, org.killbill.clock.Clock clock, @Named(value="overdueNotifierCheck") OverduePoster checkPoster, OverdueEmailGenerator overdueEmailGenerator, EmailConfig config, org.killbill.bus.api.PersistentBus bus, TagInternalApi tagApi, InternalCallContextFactory internalCallContextFactory)
public void apply(OverdueStateSet overdueStateSet, BillingState billingState, ImmutableAccountData account, org.killbill.billing.overdue.api.OverdueState previousOverdueState, org.killbill.billing.overdue.api.OverdueState nextOverdueState, InternalCallContext context) throws OverdueException, org.killbill.billing.overdue.api.OverdueApiException
public void clear(ImmutableAccountData account, org.killbill.billing.overdue.api.OverdueState previousOverdueState, org.killbill.billing.overdue.api.OverdueState clearState, InternalCallContext context) throws OverdueException
OverdueExceptionprotected void storeNewState(ImmutableAccountData blockable, org.killbill.billing.overdue.api.OverdueState nextOverdueState, InternalCallContext context) throws OverdueException
OverdueExceptionprotected void createFutureNotification(ImmutableAccountData account, org.joda.time.DateTime timeOfNextCheck, InternalCallContext context)
protected void clearFutureNotification(ImmutableAccountData account, InternalCallContext context)
Copyright © 2010-2016. All Rights Reserved.