class BillSecurity implements InstrumentDerivative {

  @Deprecated
  public String getDiscountingCurveName() {
    if (_discountingCurveName == null) {
      throw new IllegalStateException("Discounting curve name was not set");
    }
    return _discountingCurveName;
  }

  @Deprecated public  BillSecurity(final Currency currency, final double settlementTime, final double endTime, final double notional, final YieldConvention yieldConvention,
      final double accrualFactor, final String issuer, final String creditCurveName, final String discountingCurveName);
  @Deprecated public  BillSecurity(final Currency currency, final double settlementTime, final double endTime, final double notional, final YieldConvention yieldConvention,
      final double accrualFactor, final LegalEntity issuer, final String creditCurveName, final String discountingCurveName);
  public  BillSecurity(final Currency currency, final double settlementTime, final double endTime, final double notional, final YieldConvention yieldConvention, final double accrualFactor,
      final String issuer);
  public  BillSecurity(final Currency currency, final double settlementTime, final double endTime, final double notional, final YieldConvention yieldConvention, final double accrualFactor,
      final LegalEntity issuer);

}