public void ParseRecord(CustomerRecord record) { Id = record.CustomerId; Email = record.Email; AltIds = record.AlternativeIDs; SetDetails(new List<string> { "Name", "Address", "City", "State", "PostalCode", "Country", "Gender", "Birthday", "AgeRange", "Persona", "DoNotTrack" }, new List<string> { record.Name, record.Address, record.City, record.State, record.PostalCode, record.Country, record.Gender, record.Birthday, record.AgeRange, record.Persona, record.DoNotTrack }); }
public CustomerInfo(CustomerRecord record) { ParseRecord(record); }