class Cash implements InstrumentDerivative {

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

  @Deprecated public  Cash(final Currency currency, final double startTime, final double endTime, final double notional, final double rate, final double accrualFactor, final String yieldCurveName);
  public  Cash(final Currency currency, final double startTime, final double endTime, final double notional, final double rate, final double accrualFactor);
  @Deprecated public  Cash(final Currency currency, final double startTime, final double endTime, final double notional, final double initialAmount, final double rate, final double accrualFactor,
      final String yieldCurveName);
  public  Cash(final Currency currency, final double startTime, final double endTime, final double notional, final double initialAmount, final double rate, final double accrualFactor);

}