Example #1
0
            public override XElement GenerateAddRq()
            {
                XElement xElement = new XElement(nameof(BillPaymentCheck) + "Add");

                xElement.Add(TxnID?.ToQBXML(nameof(TxnID)));
                xElement.Add(TimeCreated?.ToQBXML(nameof(TimeCreated)));
                xElement.Add(TimeModified?.ToQBXML(nameof(TimeModified)));
                xElement.Add(EditSequence?.ToQBXML(nameof(EditSequence)));
                xElement.Add(TxnNumber?.ToQBXML(nameof(TxnNumber)));
                xElement.Add(PayeeEntityRef?.ToQBXML(nameof(PayeeEntityRef)));
                xElement.Add(APAccountRef?.ToQBXML(nameof(APAccountRef)));
                xElement.Add(TxnDate?.ToQBXML(nameof(TxnDate)));
                xElement.Add(BankAccountRef?.ToQBXML(nameof(BankAccountRef)));
                xElement.Add(Amount?.ToQBXML(nameof(Amount)));
                xElement.Add(CurrencyRef?.ToQBXML(nameof(CurrencyRef)));
                xElement.Add(ExchangeRate?.ToQBXML(nameof(ExchangeRate)));
                xElement.Add(AmountInHomeCurrency?.ToQBXML(nameof(AmountInHomeCurrency)));
                xElement.Add(RefNumber?.ToQBXML(nameof(RefNumber)));
                xElement.Add(Memo?.ToQBXML(nameof(Memo)));
                xElement.Add(Address?.ToQBXML(nameof(Address)));
                xElement.Add(IsToBePrinted?.ToQBXML(nameof(IsToBePrinted)));
                xElement.Add(ExternalGUID?.ToQBXML(nameof(ExternalGUID)));
                xElement.Add(AppliedToTxnList?.ToQBXML(nameof(AppliedToTxnList)));
                xElement.Add(DataExtList?.ToQBXML(nameof(DataExtList)));

                return(xElement);
            }
Example #2
0
            public XElement GenerateModRq(bool?ClearExpenseLines = null)
            {
                XElement xElement = new XElement(nameof(BillPaymentCreditCard) + "Mod");

                xElement.Add(TxnID?.ToQBXML(nameof(TxnID)));
                xElement.Add(TimeCreated?.ToQBXML(nameof(TimeCreated)));
                xElement.Add(TimeModified?.ToQBXML(nameof(TimeModified)));
                xElement.Add(EditSequence?.ToQBXML(nameof(EditSequence)));
                xElement.Add(TxnNumber?.ToQBXML(nameof(TxnNumber)));
                xElement.Add(PayeeEntityRef?.ToQBXML(nameof(PayeeEntityRef)));
                xElement.Add(APAccountRef?.ToQBXML(nameof(APAccountRef)));
                xElement.Add(TxnDate?.ToQBXML(nameof(TxnDate)));
                xElement.Add(CreditCardAccountRef?.ToQBXML(nameof(CreditCardAccountRef)));
                xElement.Add(Amount?.ToQBXML(nameof(Amount)));
                xElement.Add(CurrencyRef?.ToQBXML(nameof(CurrencyRef)));
                xElement.Add(ExchangeRate?.ToQBXML(nameof(ExchangeRate)));
                xElement.Add(AmountInHomeCurrency?.ToQBXML(nameof(AmountInHomeCurrency)));
                xElement.Add(RefNumber?.ToQBXML(nameof(RefNumber)));
                xElement.Add(Memo?.ToQBXML(nameof(Memo)));
                xElement.Add(ExternalGUID?.ToQBXML(nameof(ExternalGUID)));
                xElement.Add(AppliedToTxnList?.ToQBXML(nameof(AppliedToTxnList)));
                xElement.Add(DataExtList?.ToQBXML(nameof(DataExtList)));

                return(xElement);
            }