class DiscountingOvernightFutureTradePricer {

  public double price(ResolvedOvernightFutureTrade trade, RatesProvider ratesProvider) {
    return productPricer.price(trade.getProduct(), ratesProvider);
  }

  public  DiscountingOvernightFutureTradePricer(
      DiscountingOvernightFutureProductPricer productPricer);

}