class ResolvedFxSingleBarrierOption implements ResolvedProduct, ImmutableBean, Serializable {

  public static ResolvedFxSingleBarrierOption of(
      ResolvedFxVanillaOption underlyingOption,
      Barrier barrier,
      CurrencyAmount rebate) {

    return new ResolvedFxSingleBarrierOption(underlyingOption, barrier, rebate);
  }

  private  ResolvedFxSingleBarrierOption(
      ResolvedFxVanillaOption underlyingOption,
      Barrier barrier,
      CurrencyAmount rebate);

}