public void Annulate(entities.OrderElement orderElement) { driver.OpenDocument(DOC_TYPE_ANNULATE); driver.AnnulateProduct(orderElement.GetProductName(), orderElement.GetCount(), orderElement.GetPrice()); driver.PrintTotal(); driver.RegisterPayment(orderElement.GetPrice(), 0); driver.CloseDocument(); }