Example #1
0
 public Customer(CommonCustomer customer)
 {
     this.Initialize(customer);
 }
Example #2
0
 internal void Initialize(CommonCustomer customer)
 {
     this.Id = customer.Id;
     this.Code = customer.Code;
     this.Name = customer.Name;
     this.Email = customer.Email;
     this.Name = customer.Name;
     if (customer.PrivateQuotePolicyId != null) this.PrivateQuotePolicyId = customer.PrivateQuotePolicyId.Value;
     if (customer.PublicQuotePolicyId != null) this.PublicQuotePolicyId = customer.PublicQuotePolicyId.Value;
 }