public CustomerManagement(string name, EMailValue primaryEmail, string secondaryEmail, Industry industry) : base()
 {
     Name           = name;
     PrimaryEmail   = primaryEmail;
     SecondaryEmail = secondaryEmail;
     //  EmailingSettings = GetEmailCampaign(industry, false);
     Status = CustomerStatus.Regular;
 }
Exemplo n.º 2
0
 public void ChangeMail(EMailValue email)
 {
     EMailValue = email ?? throw new ArgumentNullException(nameof(email));
 }
Exemplo n.º 3
0
 public Customer(CustomerNameValue cnv, EMailValue ev)
 {
     CustomerNameValue = cnv ?? throw new ArgumentNullException(nameof(cnv));
     EMailValue        = ev ?? throw new ArgumentNullException(nameof(ev));
 }