class ForexSwapDiscountingMethod {

  public MultipleCurrencyAmount presentValue(final ForexSwap fx, final MulticurveProviderInterface multicurves) {
    ArgumentChecker.notNull(fx, "Forex swap");
    ArgumentChecker.notNull(multicurves, "Multi-curves provider");
    final MultipleCurrencyAmount pv = METHOD_FX.presentValue(fx.getNearLeg(), multicurves);
    return pv.plus(METHOD_FX.presentValue(fx.getFarLeg(), multicurves));
  }

  private  ForexSwapDiscountingMethod();

}