class CdsIsdaCreditCurveNode implements IsdaCreditCurveNode, ImmutableBean, Serializable {

  public static CdsIsdaCreditCurveNode ofQuotedSpread(
      CdsTemplate template,
      ObservableId observableId,
      StandardId legalEntityId,
      Double fixedRate) {

    return builder()
        .template(template)
        .observableId(observableId)
        .legalEntityId(legalEntityId)
        .quoteConvention(CdsQuoteConvention.QUOTED_SPREAD)
        .fixedRate(fixedRate)
        .build();
  }

  private  CdsIsdaCreditCurveNode(
      CdsTemplate template,
      String label,
      ObservableId observableId,
      StandardId legalEntityId,
      CdsQuoteConvention quoteConvention,
      Double fixedRate);

}