class ImpliedTrinomialTreeFxSingleBarrierOptionProductPricer {

  public CurrencyAmount presentValue(
      ResolvedFxSingleBarrierOption option,
      RatesProvider ratesProvider,
      BlackFxOptionVolatilities volatilities) {

    RecombiningTrinomialTreeData treeData =
        calibrator.calibrateTrinomialTree(option.getUnderlyingOption(), ratesProvider, volatilities);
    return presentValue(option, ratesProvider, volatilities, treeData);
  }

  public  ImpliedTrinomialTreeFxSingleBarrierOptionProductPricer();
  public  ImpliedTrinomialTreeFxSingleBarrierOptionProductPricer(int nSteps);

}