|
C4W-BOT
|
Representa a un cliente del sistema, con su información personal, etiquetas e historial de interacciones. Contiene comportamientos para gestionar su estado y sus relaciones. More...
Public Member Functions | |
| Customer (string id, string name, string familyName, string mail, string phone, string gender, DateTime birthDate) | |
| bool | IsValidMail (string mail) |
| void | AddTag (Tag tag) |
| void | RemoveTag (Tag tag) |
| void | AddInteraction (Interaction interaction) |
| List< Interaction > | GetInteraction () |
| List< Interaction > | GetInteractionsByTypeName (string typeName) |
| Filtra las interacciones del cliente por tipo utilizando genéricos. Devuelve solo las interacciones que coincidan con el tipo especificado. | |
| List< Interaction > | GetInteractionsByDate (DateTime date) |
| List< Interaction > | GetInteractionsByTypeAndDate (string typeName, DateTime date) |
| DateTime? | GetLastInteraction () |
| void | Deactivate () |
| void | Activate () |
| bool | CheckIsActive () |
| void | MarkAsPending () |
| void | MarkAsActive () |
| void | MarkLastReceivedAsResponded () |
| List< Interaction > | GetUnansweredInteractions () |
| List< Interaction > | GetRecentInteractions () |
| List< Meeting > | GetUpcomingMeetings () |
| bool | HasQuote (DateTime date, string topic, ExchangeType type, double amount, string description) |
| Quote | FindQuote (DateTime date, string topic, ExchangeType type, double amount, string description=null) |
| bool | HasSale (DateTime date, string topic, ExchangeType type, string product, double amount) |
| Interaction | FindInteraction (string topic, DateTime date, ExchangeType type) |
| override string | ToString () |
Properties | |
| string | Id [get, set] |
| string | Name [get, set] |
| string | FamilyName [get, set] |
| string | Mail [get, set] |
| string | Phone [get, set] |
| string | Gender [get, set] |
| DateTime | BirthDate [get, set] |
| List< Tag > | Tags [get, set] |
| List< Interaction > | Interactions [get, set] |
| Seller | Seller [get, set] |
| bool | IsActive [get, set] |
| bool | HasPendingCustomerReply [get] |
Representa a un cliente del sistema, con su información personal, etiquetas e historial de interacciones. Contiene comportamientos para gestionar su estado y sus relaciones.
| Library.Customer.Customer | ( | string | id, |
| string | name, | ||
| string | familyName, | ||
| string | mail, | ||
| string | phone, | ||
| string | gender, | ||
| DateTime | birthDate ) |
| void Library.Customer.Activate | ( | ) |
| void Library.Customer.AddInteraction | ( | Interaction | interaction | ) |
| void Library.Customer.AddTag | ( | Tag | tag | ) |
| bool Library.Customer.CheckIsActive | ( | ) |
| void Library.Customer.Deactivate | ( | ) |
| Interaction Library.Customer.FindInteraction | ( | string | topic, |
| DateTime | date, | ||
| ExchangeType | type ) |
| Quote Library.Customer.FindQuote | ( | DateTime | date, |
| string | topic, | ||
| ExchangeType | type, | ||
| double | amount, | ||
| string | description = null ) |
| List< Interaction > Library.Customer.GetInteraction | ( | ) |
| List< Interaction > Library.Customer.GetInteractionsByDate | ( | DateTime | date | ) |
| List< Interaction > Library.Customer.GetInteractionsByTypeAndDate | ( | string | typeName, |
| DateTime | date ) |
| List< Interaction > Library.Customer.GetInteractionsByTypeName | ( | string | typeName | ) |
| DateTime? Library.Customer.GetLastInteraction | ( | ) |
| List< Interaction > Library.Customer.GetRecentInteractions | ( | ) |
| List< Interaction > Library.Customer.GetUnansweredInteractions | ( | ) |
| List< Meeting > Library.Customer.GetUpcomingMeetings | ( | ) |
| bool Library.Customer.HasQuote | ( | DateTime | date, |
| string | topic, | ||
| ExchangeType | type, | ||
| double | amount, | ||
| string | description ) |
| bool Library.Customer.HasSale | ( | DateTime | date, |
| string | topic, | ||
| ExchangeType | type, | ||
| string | product, | ||
| double | amount ) |
| bool Library.Customer.IsValidMail | ( | string | ) |
| void Library.Customer.MarkAsActive | ( | ) |
| void Library.Customer.MarkAsPending | ( | ) |
| void Library.Customer.MarkLastReceivedAsResponded | ( | ) |
| void Library.Customer.RemoveTag | ( | Tag | tag | ) |
| override string Library.Customer.ToString | ( | ) |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |