public class DefaultOverdueUserApi extends Object implements OverdueUserApi
| Constructor and Description |
|---|
DefaultOverdueUserApi(OverdueWrapperFactory factory,
BlockingInternalApi accessApi,
InternalCallContextFactory internalCallContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
BillingState |
getBillingStateFor(Account overdueable,
TenantContext context) |
OverdueState |
getOverdueStateFor(Account overdueable,
TenantContext context) |
OverdueState |
refreshOverdueStateFor(Account blockable,
CallContext context) |
void |
setOverdueConfig(OverdueConfig config) |
void |
setOverrideBillingStateForAccount(Account overdueable,
BillingState state,
CallContext context) |
@Inject public DefaultOverdueUserApi(OverdueWrapperFactory factory, BlockingInternalApi accessApi, InternalCallContextFactory internalCallContextFactory)
public OverdueState getOverdueStateFor(Account overdueable, TenantContext context) throws OverdueException
getOverdueStateFor in interface OverdueUserApiOverdueExceptionpublic BillingState getBillingStateFor(Account overdueable, TenantContext context) throws OverdueException
getBillingStateFor in interface OverdueUserApiOverdueExceptionpublic OverdueState refreshOverdueStateFor(Account blockable, CallContext context) throws OverdueException, OverdueApiException
refreshOverdueStateFor in interface OverdueUserApiOverdueExceptionOverdueApiExceptionpublic void setOverrideBillingStateForAccount(Account overdueable, BillingState state, CallContext context)
setOverrideBillingStateForAccount in interface OverdueUserApipublic void setOverdueConfig(OverdueConfig config)
Copyright © 2010-2014. All Rights Reserved.