class FxVolatilitySurfaceYearFractionParameterMetadata implements ParameterMetadata, ImmutableBean, Serializable {

  public static FxVolatilitySurfaceYearFractionParameterMetadata of(
      double yearFraction,
      Strike strike,
      CurrencyPair currencyPair) {

    String label = Pair.of(yearFraction, strike.getLabel()).toString();
    return new FxVolatilitySurfaceYearFractionParameterMetadata(yearFraction, null, strike, currencyPair, label);
  }

  private  FxVolatilitySurfaceYearFractionParameterMetadata(
      double yearFraction,
      Tenor yearFractionTenor,
      Strike strike,
      CurrencyPair currencyPair,
      String label);

}