Codota Logo
com.ning.billing
Code IndexAdd Codota to your IDE (free)

How to use com.ning.billing

Best Java code snippets using com.ning.billing (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

  public static ErrorCode fromCode(final int code) {
    for (final ErrorCode errorCode : ErrorCode.values()) {
      if (errorCode.getCode() == code) {
        return errorCode;
      }
    }
    return __UNKNOWN_ERROR_CODE;
  }
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

public BillingExceptionBase(final BillingExceptionBase cause) {
  this.formattedMsg = cause.getMessage();
  this.code = cause.getCode();
  this.cause = cause;
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

public PaymentPluginApiException(final String errorType, BillingExceptionBase billingExceptionBase) {
  this.errorMessage = billingExceptionBase.getMessage();
  this.errorType = errorType;
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

public BillingExceptionBase(/* @Nullable */ final Throwable cause, final ErrorCode code, final Object... args) {
  final String tmp;
  tmp = String.format(code.getFormat(), args);
  this.formattedMsg = tmp;
  this.code = code.getCode();
  this.cause = cause;
}
origin: com.ning.billing/killbill-analytics

  @Override
  public int hashCode() {
    int result = objectType != null ? objectType.hashCode() : 0;
    result = 31 * result + (name != null ? name.hashCode() : 0);
    return result;
  }
}
origin: com.ning.billing/killbill-util

  private TableName getTableNameFromObjectType(final ObjectType objectType) {
    for (final TableName tableName : TableName.values()) {
      if (objectType.equals(tableName.getObjectType())) {
        return tableName;
      }
    }

    return null;
  }
}
origin: com.ning.billing/killbill-util

  @Override
  protected void configure() {
    super.configure();

    final EmbeddedDB instance = DBTestingHelper.get();
    bind(EmbeddedDB.class).toInstance(instance);

    try {
      bind(DataSource.class).toInstance(DBTestingHelper.get().getDataSource());
      bind(IDBI.class).toInstance(DBTestingHelper.getDBI());
    } catch (IOException e) {
      Assert.fail(e.toString());
    }
  }
}
origin: com.ning.billing/killbill-util

  @Override
  public boolean apply(final TagModelDao input) {
    return objectType.equals(input.getObjectType());
  }
}));
origin: com.ning.billing/killbill-util

  @Override
  public boolean apply(final AuditLog auditLog) {
    return objectType.equals(auditLog.getAuditedObjectType());
  }
};
origin: com.ning.billing/killbill-jaxrs

  @Override
  public String apply(@Nullable final ObjectType input) {
    if (input == null) {
      return "";
    } else {
      return input.toString();
    }
  }
})),
origin: com.ning.billing/killbill-util

  @Override
  protected void configure() {
    super.configure();
    installDBI();
  }
}
origin: com.ning.billing/killbill-util

  @Override
  protected void configure() {
    bind(ClockMock.class).toInstance(GuicyKillbillTestSuite.getClock());
    bind(Clock.class).to(ClockMock.class);
    bind(InternalCallContext.class).toInstance(internalCallContext);
    bind(CallContext.class).toInstance(callContext);
  }
}
origin: com.ning.billing.commons/killbill-queue

@Override
@BeforeMethod(groups = "slow")
public void beforeMethod() throws Exception {
  super.beforeMethod();
  eventsReceived = 0;
}
origin: com.ning.billing/killbill-util

  @Override
  public int hashCode() {
    int result = customFieldId != null ? customFieldId.hashCode() : 0;
    result = 31 * result + (objectId != null ? objectId.hashCode() : 0);
    result = 31 * result + (objectType != null ? objectType.hashCode() : 0);
    return result;
  }
}
origin: com.ning.billing/killbill-util

public static TableName fromObjectType(final ObjectType objectType) {
  for (final TableName tableName : values()) {
    if (tableName.getObjectType() != null && tableName.getObjectType().equals(objectType)) {
      return tableName;
    }
  }
  return null;
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

public EntitlementApiException(final BillingExceptionBase e) {
  super(e, e.getCode(), e.getMessage());
}
origin: com.ning.billing/killbill-analytics

  @Override
  public int hashCode() {
    int result = objectType != null ? objectType.hashCode() : 0;
    result = 31 * result + (name != null ? name.hashCode() : 0);
    result = 31 * result + (value != null ? value.hashCode() : 0);
    return result;
  }
}
origin: com.ning.billing/killbill-osgi-bundles-jruby

public SubscriptionApiException(final BillingExceptionBase e) {
  super(e, e.getCode(), e.getMessage());
}
origin: com.ning.billing/killbill-jaxrs

  @Override
  public int hashCode() {
    int result = customFieldId != null ? customFieldId.hashCode() : 0;
    result = 31 * result + (objectId != null ? objectId.hashCode() : 0);
    result = 31 * result + (objectType != null ? objectType.hashCode() : 0);
    result = 31 * result + (name != null ? name.hashCode() : 0);
    result = 31 * result + (value != null ? value.hashCode() : 0);
    return result;
  }
}
origin: com.ning.billing/killbill-jaxrs

  @Override
  public int hashCode() {
    int result = tagId != null ? tagId.hashCode() : 0;
    result = 31 * result + (objectType != null ? objectType.hashCode() : 0);
    result = 31 * result + (tagDefinitionId != null ? tagDefinitionId.hashCode() : 0);
    result = 31 * result + (tagDefinitionName != null ? tagDefinitionName.hashCode() : 0);
    return result;
  }
}
com.ning.billing

Most used classes

  • Account
    The interface Account represents an account within Killbill. An Account has a unique UUID and also a
  • InternalCallContextFactory
  • PersistentBus
  • ErrorCode
  • Plan
    The interface Plan
  • InternalCallContext,
  • PlanPhase,
  • GuicyKillbillTestNoDBModule,
  • NotificationQueue,
  • NotificationQueueService,
  • ControlTagType,
  • AccountInternalApi,
  • ClockMock,
  • Invoice,
  • LifecycleHandlerType,
  • CacheModule,
  • NonEntityDaoModule,
  • Tag,
  • GuicyKillbillTestSuiteWithEmbeddedDB
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