class BillSecurityDiscountingMethod {

  public MultipleCurrencyAmount presentValue(final BillSecurity bill, final IssuerProviderInterface issuer) {
    ArgumentChecker.notNull(bill, "Bill");
    ArgumentChecker.notNull(issuer, "Issuer and multi-curves provider");
    final double pvBill = bill.getNotional() * issuer.getDiscountFactor(bill.getIssuerEntity(), bill.getEndTime());
    return MultipleCurrencyAmount.of(bill.getCurrency(), pvBill);
  }

  private  BillSecurityDiscountingMethod();

}