Codota Logo
OverdueState.disableEntitlementAndChangesBlocked
Code IndexAdd Codota to your IDE (free)

How to use
disableEntitlementAndChangesBlocked
method
in
com.ning.billing.overdue.OverdueState

Best Java code snippets using com.ning.billing.overdue.OverdueState.disableEntitlementAndChangesBlocked (Showing top 5 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: com.ning.billing/killbill-overdue

private boolean blockBilling(final OverdueState nextOverdueState) {
  return nextOverdueState.disableEntitlementAndChangesBlocked();
}
origin: com.ning.billing/killbill-overdue

private boolean blockEntitlement(final OverdueState nextOverdueState) {
  return nextOverdueState.disableEntitlementAndChangesBlocked();
}
origin: com.ning.billing/killbill-overdue

public void checkStateApplied(final BlockingState result, final OverdueState state) {
  Assert.assertEquals(result.getStateName(), state.getName());
  Assert.assertEquals(result.isBlockChange(), state.blockChanges());
  Assert.assertEquals(result.isBlockEntitlement(), state.disableEntitlementAndChangesBlocked());
  Assert.assertEquals(result.isBlockBilling(), state.disableEntitlementAndChangesBlocked());
}
origin: com.ning.billing/killbill-jaxrs

public OverdueStateJson(final OverdueState overdueState) {
  this.name = overdueState.getName();
  this.externalMessage = overdueState.getExternalMessage();
  this.daysBetweenPaymentRetries = overdueState.getDaysBetweenPaymentRetries();
  this.disableEntitlementAndChangesBlocked = overdueState.disableEntitlementAndChangesBlocked();
  this.blockChanges = overdueState.blockChanges();
  this.isClearState = overdueState.isClearState();
  Period reevaluationIntervalPeriod = null;
  try {
    reevaluationIntervalPeriod = overdueState.getReevaluationInterval();
  } catch (OverdueApiException ignored) {
  }
  if (reevaluationIntervalPeriod != null) {
    this.reevaluationIntervalDays = reevaluationIntervalPeriod.getDays();
  } else {
    this.reevaluationIntervalDays = null;
  }
}
origin: com.ning.billing/killbill-overdue

  @Test(groups = "slow")
  public void testWrapperNoConfig() throws Exception {
    overdueWrapperFactory.setOverdueConfig(null);

    final Account account;
    final OverdueWrapper wrapper;
    final OverdueState state;

    final InputStream is = new ByteArrayInputStream(testOverdueHelper.getConfigXml().getBytes());
    final OverdueConfig config = XMLLoader.getObjectFromStreamNoValidation(is, OverdueConfig.class);
    state = config.getStateSet().findState(DefaultBlockingState.CLEAR_STATE_NAME);
    account = testOverdueHelper.createAccount(clock.getUTCToday().minusDays(31));
    wrapper = overdueWrapperFactory.createOverdueWrapperFor(account);
    final OverdueState result = wrapper.refresh(internalCallContext);

    Assert.assertEquals(result.getName(), state.getName());
    Assert.assertEquals(result.blockChanges(), state.blockChanges());
    Assert.assertEquals(result.disableEntitlementAndChangesBlocked(), state.disableEntitlementAndChangesBlocked());
  }
}
com.ning.billing.overdueOverdueStatedisableEntitlementAndChangesBlocked

Popular methods of OverdueState

  • blockChanges
  • getName
  • getReevaluationInterval
  • isClearState
  • getDaysBetweenPaymentRetries
  • getEnterStateEmailNotification
  • getExternalMessage
  • getSubscriptionCancellationPolicy

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JTextField (javax.swing)
  • Option (scala)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now