Пример #1
0
                public virtual XElement GenerateQueryRq()
                {
                    XElement xElement = new XElement(typeof(T).Name + "QueryRq");

                    xElement.Add(TxnID?.ToQBXML(nameof(TxnID)));
                    xElement.Add(RefNumber?.ToQBXML(nameof(RefNumber)));
                    xElement.Add(RefNumberCaseSensitive?.ToQBXML(nameof(RefNumberCaseSensitive)));
                    xElement.Add(MaxReturned?.ToQBXML(nameof(MaxReturned)));
                    xElement.Add(ModifiedDateRangeFilter?.ToQBXML(nameof(ModifiedDateRangeFilter)));
                    xElement.Add(TxnDateRangeFilter?.ToQBXML(nameof(TxnDateRangeFilter)));
                    xElement.Add(EntityFilter?.ToQBXML(nameof(EntityFilter)));
                    xElement.Add(AccountFilter?.ToQBXML(nameof(AccountFilter)));
                    xElement.Add(MatchFilter?.ToQBXML(nameof(MatchFilter)));
                    xElement.Add(MatchRangeFilter?.ToQBXML(nameof(MatchRangeFilter)));
                    xElement.Add(CurrencyFilter?.ToQBXML(nameof(CurrencyFilter)));
                    xElement.Add(OwnerID?.ToQBXML(nameof(OwnerID)));
                    return(xElement);
                }