public void addLinePayment(ILinePayment linePayment, IDatabaseAccess db) { total.updateTotal(db.getCurrentInvoiceTotal(), Convert.ToDecimal(db.getTax()), Convert.ToDecimal(db.getInvoiceGrandTotal())); total.addLinePayment(linePayment); }
public void addLinePayment(ILinePayment linePayment) { paymentsList.Add(linePayment); }