class IsdaCdsTradePricer {

  public CurrencyAmount rpv01OnSettle(
      ResolvedCdsTrade trade,
      CreditRatesProvider ratesProvider,
      PriceType priceType,
      ReferenceData refData) {

    LocalDate settlementDate = calculateSettlementDate(trade, ratesProvider, refData);
    return productPricer.rpv01(trade.getProduct(), ratesProvider, settlementDate, priceType, refData);
  }

  public  IsdaCdsTradePricer();
  public  IsdaCdsTradePricer(AccrualOnDefaultFormula formula);

}