public Builder SetAddressLines(IEnumerable <string> lines) { AddressLines.Clear(); AddressLines.AddRange(lines); return(this); }
public Builder SetAddress(string value) { AddressLines.Clear(); AddressLines.AddRange(NormalizeAddressLines(AddressLines)); return(this); }
public Builder Set(AddressData addressData) { _fields.Clear(); foreach (var field in _singleValueFields) { Set(field, addressData.GetFieldValue(field)); } AddressLines.Clear(); AddressLines.AddRange(addressData.AddressLines); SetLanguageCode(addressData.LanguageCode); return(this); }