public void addLineToTicket(String ticketId, String productId) {
ticket = new TicketDAO();
product = new ProductDAO();
category = new CategoryDAO();
tax = new TaxDAO();
taxesLogic = new TaxesLogic(tax.getTaxList());
TicketInfo obj = ticket.getTicket(ticketId);
ProductInfo productObj = product.findProductById(productId);
TicketLineInfo line = new TicketLineInfo(productObj, productObj.getPriceSell(), taxesLogic.getTaxInfo(productObj.getTaxcat()));