class BillSecurityDiscountingMethod {

  public MultipleCurrencyAmount presentValueFromYield(final BillSecurity bill, final double yield, final IssuerProviderInterface issuer) {
    ArgumentChecker.notNull(bill, "Bill");
    ArgumentChecker.notNull(issuer, "Issuer and multi-curves provider");
    final double price = priceFromYield(bill, yield);
    return presentValueFromPrice(bill, price, issuer);
  }

  private  BillSecurityDiscountingMethod();

}