using Nop.Core.Domain.Customers; namespace Nop.Services.Customers; /// /// Customer registration request /// public partial class CustomerRegistrationRequest { /// /// Ctor /// /// Customer /// Email /// Username /// Password /// Password format /// Store identifier /// Is approved public CustomerRegistrationRequest(Customer customer, string email, string username, string password, PasswordFormat passwordFormat, int storeId, bool isApproved = true) { Customer = customer; Email = email; Username = username; Password = password; PasswordFormat = passwordFormat; StoreId = storeId; IsApproved = isApproved; } /// /// Customer /// public Customer Customer { get; set; } /// /// Email /// public string Email { get; set; } /// /// Username /// public string Username { get; set; } /// /// Password /// public string Password { get; set; } /// /// Password format /// public PasswordFormat PasswordFormat { get; set; } /// /// Store identifier /// public int StoreId { get; set; } /// /// Is approved /// public bool IsApproved { get; set; } }