class ForexDiscountingMethod {

  public double forwardForexRate(final Forex fx, final MulticurveProviderInterface multicurves) {
    final double dfDomestic = multicurves.getDiscountFactor(fx.getCurrency2(), fx.getPaymentTime());
    final double dfForeign = multicurves.getDiscountFactor(fx.getCurrency1(), fx.getPaymentTime());
    final double spot = multicurves.getFxRate(fx.getCurrency1(), fx.getCurrency2());
    return spot * dfForeign / dfDomestic;
  }

  private  ForexDiscountingMethod();

}