예제 #1
0
            public XElement ToQBXML(string name)
            {
                XElement xElement = new XElement(name);

                xElement.Add(Addr1.ToQBXML(nameof(Addr1)));
                xElement.Add(Addr2.ToQBXML(nameof(Addr2)));
                xElement.Add(Addr3.ToQBXML(nameof(Addr3)));
                xElement.Add(Addr4.ToQBXML(nameof(Addr4)));
                xElement.Add(Addr5.ToQBXML(nameof(Addr5)));
                return(xElement);
            }
예제 #2
0
            public new XElement ToQBXML(string name)
            {
                XElement xElement = new XElement(name);

                xElement.Add(Name.ToQBXML(nameof(Name)));
                xElement.Add(Addr1.ToQBXML(nameof(Addr1)));
                xElement.Add(Addr2.ToQBXML(nameof(Addr2)));
                xElement.Add(Addr3.ToQBXML(nameof(Addr3)));
                xElement.Add(Addr4.ToQBXML(nameof(Addr4)));
                xElement.Add(Addr5.ToQBXML(nameof(Addr5)));
                xElement.Add(City.ToQBXML(nameof(City)));
                xElement.Add(State.ToQBXML(nameof(State)));
                xElement.Add(PostalCode.ToQBXML(nameof(PostalCode)));
                xElement.Add(Country.ToQBXML(nameof(Country)));
                xElement.Add(Note.ToQBXML(nameof(Note)));
                xElement.Add(DefaultShipTo.ToQBXML(nameof(DefaultShipTo)));
                return(xElement);
            }