class DiscountingFxResetNotionalExchangePricer implements SwapPaymentEventPricer<FxResetNotionalExchange> {

  @Override
  public double currentCash(FxResetNotionalExchange event, RatesProvider provider) {
    if (provider.getValuationDate().isEqual(event.getPaymentDate())) {
      return forecastValue(event, provider);
    }
    return 0d;
  }

  public  DiscountingFxResetNotionalExchangePricer();

}