C4W-BOT
Loading...
Searching...
No Matches
Library.CustomerManagementCommand Class Reference

Comando para crear un nuevo cliente desde Discord. Uso: !createCustomer ID Nombre Apellido Mail Teléfono Genero yyyy-MM-dd. More...

Inheritance diagram for Library.CustomerManagementCommand:

Public Member Functions

async Task CreateCustomerCommand (string id, string name, string familyName, string mail, string phone, string gender, string birthDate)
async Task ModifyCustomerById (string id, string field, string newValue)
 Comando para modificar los datos de un cliente por Id. Uso: !modifyCustomer id field newValue.
async Task DeleteCustomerCommand (string id=null)
 Elimina un cliente del CRM por ID. Uso: !deleteCustomer C1.
async Task SearchCustomerByMailCommand (string mail)
 Comando para buscar un cliente por correo electrónico. Uso: !searchCustomerByMail corre.nosp@m.o@ej.nosp@m.emplo.nosp@m..com.
async Task SearchCustomerByFamilyNameCommand (string familyName)
 Comando para buscar un cliente por apellido. Uso: !searchCustomerByFamilyName Apellido.
async Task SearchCustomerByIdCommand (string id)
 Comando para buscar un cliente por ID. Uso: !searchCustomerById C1.
async Task SearchCustomerByNameCommand (string name)
 Comando para buscar un cliente por su nombre. Uso: !searchCustomerByName Juan.
async Task SearchCustomerByPhoneCommand (string phone)
 Comando para buscar un cliente por teléfono. Uso: !searchCustomerByPhone 099123456.
async Task ExecuteAsyncGetCustomerBySellerIdCommand (string sellerId)
 Comando para obtener todos los clientes asignados a un vendedor. Uso: !getCustomerBySellerId V1.
async Task AssignCustomerCommand (string customerId, string sellerId)
 Comando para asignar un cliente a un vendedor. Uso: !assignCustomer C001 V001.
async Task AssignCustomerToSellerCommand (string customerId, string oldSellerId, string newSellerId)
 Comando para asignar un cliente a otro vendedor dentro del equipo. Uso: !exchangeCustomer C1 V3.

Detailed Description

Comando para crear un nuevo cliente desde Discord. Uso: !createCustomer ID Nombre Apellido Mail Teléfono Genero yyyy-MM-dd.

Member Function Documentation

◆ AssignCustomerCommand()

async Task Library.CustomerManagementCommand.AssignCustomerCommand ( string customerId,
string sellerId )

Comando para asignar un cliente a un vendedor. Uso: !assignCustomer C001 V001.

◆ AssignCustomerToSellerCommand()

async Task Library.CustomerManagementCommand.AssignCustomerToSellerCommand ( string customerId,
string oldSellerId,
string newSellerId )

Comando para asignar un cliente a otro vendedor dentro del equipo. Uso: !exchangeCustomer C1 V3.

◆ CreateCustomerCommand()

async Task Library.CustomerManagementCommand.CreateCustomerCommand ( string id,
string name,
string familyName,
string mail,
string phone,
string gender,
string birthDate )

◆ DeleteCustomerCommand()

async Task Library.CustomerManagementCommand.DeleteCustomerCommand ( string id = null)

Elimina un cliente del CRM por ID. Uso: !deleteCustomer C1.

◆ ExecuteAsyncGetCustomerBySellerIdCommand()

async Task Library.CustomerManagementCommand.ExecuteAsyncGetCustomerBySellerIdCommand ( string sellerId)

Comando para obtener todos los clientes asignados a un vendedor. Uso: !getCustomerBySellerId V1.

◆ ModifyCustomerById()

async Task Library.CustomerManagementCommand.ModifyCustomerById ( string id,
string field,
string newValue )

Comando para modificar los datos de un cliente por Id. Uso: !modifyCustomer id field newValue.

◆ SearchCustomerByFamilyNameCommand()

async Task Library.CustomerManagementCommand.SearchCustomerByFamilyNameCommand ( string familyName)

Comando para buscar un cliente por apellido. Uso: !searchCustomerByFamilyName Apellido.

◆ SearchCustomerByIdCommand()

async Task Library.CustomerManagementCommand.SearchCustomerByIdCommand ( string id)

Comando para buscar un cliente por ID. Uso: !searchCustomerById C1.

◆ SearchCustomerByMailCommand()

async Task Library.CustomerManagementCommand.SearchCustomerByMailCommand ( string mail)

Comando para buscar un cliente por correo electrónico. Uso: !searchCustomerByMail corre.nosp@m.o@ej.nosp@m.emplo.nosp@m..com.

◆ SearchCustomerByNameCommand()

async Task Library.CustomerManagementCommand.SearchCustomerByNameCommand ( string name)

Comando para buscar un cliente por su nombre. Uso: !searchCustomerByName Juan.

◆ SearchCustomerByPhoneCommand()

async Task Library.CustomerManagementCommand.SearchCustomerByPhoneCommand ( string phone)

Comando para buscar un cliente por teléfono. Uso: !searchCustomerByPhone 099123456.


The documentation for this class was generated from the following file: