public EDIXmlSegment GetAddressName(string name, string addressType, string codeQualifier, string code)
        {
            var pair = new QualifierValuePair(codeQualifier, code, 3);
            EdiXmlBuildValues buildValues = _buildFactory.GetValues();
            var seg = new EDIXmlSegment("N1", buildValues);
            seg.Add(new EDIXmlElement("N101", addressType, buildValues));
            seg.Add(new EDIXmlElement("N102", name, buildValues));
            seg.AddElements(pair.GetQualfierValuePair(seg.SegmentName, buildValues));

            return seg;
        }
 public EDIXmlSegment GetShipmentLineItem(string lineNum, IEnumerable<QualifierValuePair> pairs)
 {
     EdiXmlBuildValues buildValues = _buildFactory.GetValues();
     var seg = new EDIXmlSegment("LIN", buildValues);
     seg.Add(new EDIXmlElement("LIN01", lineNum, buildValues));
     pairs.ForEach(p => seg.AddElements(p.GetQualfierValuePair(seg.SegmentName, buildValues)));
     return seg;
 }