class BondTransactionDiscountingMethod {

  public double parSpreadYield(final BondFixedTransaction bond, final IssuerProviderInterface issuerMulticurves) {
    final double parSpreadPrice = parSpread(bond, issuerMulticurves);
    final double yieldAtTrade = METHOD_BOND_SECURITY.yieldFromCleanPrice(bond.getBondStandard(), 
        bond.getTransactionPrice());
    final double yieldAtPar = METHOD_BOND_SECURITY.yieldFromCleanPrice(bond.getBondStandard(), 
        bond.getTransactionPrice() + parSpreadPrice);
    return yieldAtPar - yieldAtTrade;
  }

  private  BondTransactionDiscountingMethod();

}