class DiscountingFxSwapTradePricer {

  public double parSpread(ResolvedFxSwapTrade trade, RatesProvider provider) {
    return productPricer.parSpread(trade.getProduct(), provider);
  }

  public  DiscountingFxSwapTradePricer(
      DiscountingFxSwapProductPricer productPricer);

}