class FxSingleBarrierOption implements FxProduct, Resolvable<ResolvedFxSingleBarrierOption>, ImmutableBean, Serializable {

  public static FxSingleBarrierOption of(FxVanillaOption underlyingOption, Barrier barrier, CurrencyAmount rebate) {
    return new FxSingleBarrierOption(underlyingOption, barrier, rebate);
  }

  private  FxSingleBarrierOption(
      FxVanillaOption underlyingOption,
      Barrier barrier,
      CurrencyAmount rebate);

}