Clase fachada que centraliza las operaciones de clientes, vendedores e interacciones. Permite acceder a las funcionalidades del sistema sin exponer su estructura interna.
More...
|
| static DateTime | ParseDate (string dateString) |
| static double | ParseDouble (string value) |
| static ExchangeType | ParseExchangeType (string typeString) |
| static string | CreateCustomer (string id, string name, string familyName, string mail, string phone, string gender, string birthDate) |
| | Crea un nuevo cliente a partir de los datos ingresados y lo agrega al sistema. Devuelve un mensaje de éxito o el mensaje de la excepción lanzada.
|
| static string | DeleteCustomer (string id) |
| | Elimina un cliente del sistema según su ID. Verifica primero si el ID es válido y si el cliente existe.
|
| static string | ModifyCustomer (string id, string field, string newValue) |
| static string | SearchCustomer_ById (string id) |
| static string | SearchCostumer_ByName (string name) |
| static string | SearchCostumer_ByFamilyName (string familyname) |
| static string | SearchCostumer_ByPhone (string phone) |
| static string | SearchCostumer_ByMail (string mail) |
| static string | ShowCustomers_BySellerId (string sellerId) |
| | Muestra todos los clientes asociados a un vendedor específico. Devuelve un listado con los nombres o un mensaje si no hay clientes asignados.
|
| static string | AddCustomer (Customer customer) |
| static string | CreateTag (string tagId, string tagName, string tagDescription) |
| static string | AddTag_Customer (string customerId, string tagId) |
| static string | AddNoteToInteraction (string customerId, string interactionType, string interactionTopic, string interactionDate) |
| static string | LastInteraction (string customerId) |
| static string | UnansweredInteractions (string customerId) |
| static string | CreateSeller (string id, string name, string mail, string phone) |
| static string | SearchSeller_ById (string id) |
| static string | AssignCustomer (string customerId, string sellerId) |
| | Asigna un cliente a un vendedor para distribuir el trabajo en el equipo. Historia de usuario: Como vendedor, quiero poder asignar un cliente a otro vendedor para distribuir el trabajo en el equipo.
|
| static string | ExchangeCustomer (string customerId, string oldSellerId, string newSellerId) |
| static string | CallRegister (string dateStr, string topic, string typeStr, string customerId, string sellerId) |
| static string | MeetingRegister (string place, string dateStr, string topic, string typeStr, string customerId, string sellerId) |
| static string | MessageRegister (string dateStr, string topic, string typeStr, string customerId, string sellerId) |
| static string | MailRegister (string dateStr, string topic, string typeStr, string customerId, string sellerId) |
| static string | QuoteRegister (string dateStr, string topic, string typeStr, string amountStr, string description, string customerId, string sellerId) |
| static string | SaleFromQuote (string dateStr, string topic, string typeStr, string amountStr, string product, string customerId, string sellerId) |
| | Genera una venta a partir de una cotización previa (Quote). Verifica que la cotización coincida con los datos provistos antes de crear la venta.
|
| static string | SuspendSeller (string sellerId) |
| static string | EnableSeller (string sellerId) |
| static string | DeleteSeller (string sellerId) |
| static string | GetTotalSales (string startStr, string endStr) |
| static string | GetInactiveCustomersFormatted (int days) |
| static string | GetUnansweredCustomersFormatted (int days) |
| static string | GetDashboardFormatted () |
Clase fachada que centraliza las operaciones de clientes, vendedores e interacciones. Permite acceder a las funcionalidades del sistema sin exponer su estructura interna.