diff --git a/QuickBooks/QBXML/Object.php b/QuickBooks/QBXML/Object.php index 1700196c..efa0ba98 100755 --- a/QuickBooks/QBXML/Object.php +++ b/QuickBooks/QBXML/Object.php @@ -565,16 +565,16 @@ protected function _cleanup() /** * Convert this object to a valid qbXML request/response - * - * @todo Support for qbXML versions - * - * @param boolean $compress_empty_elements - * @param string $indent - * @param string $root + * + * @param $request + * The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) + * @param $version + * @todo Support for qbXML versions + * @param $locale + * Restrict it to a specific qbXML locale? * @return string */ - //public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_XML_XML_DROP, $indent = "\t", $root = null) - public function asQBXML($request, $version = null, $locale = null, $root = null) + public function asQBXML($request, $version = null, $locale = null) { $todo_for_empty_elements = QuickBooks_XML::XML_DROP; $indent = "\t"; diff --git a/QuickBooks/QBXML/Object/Account.php b/QuickBooks/QBXML/Object/Account.php index c1c8bba5..49b4cdbb 100755 --- a/QuickBooks/QBXML/Object/Account.php +++ b/QuickBooks/QBXML/Object/Account.php @@ -279,22 +279,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Bill/ItemLine.php b/QuickBooks/QBXML/Object/Bill/ItemLine.php index 3ab348ab..03e64c52 100755 --- a/QuickBooks/QBXML/Object/Bill/ItemLine.php +++ b/QuickBooks/QBXML/Object/Bill/ItemLine.php @@ -453,20 +453,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - public function object() { return 'ItemLine'; diff --git a/QuickBooks/QBXML/Object/BillPaymentCheck.php b/QuickBooks/QBXML/Object/BillPaymentCheck.php index ebd6d730..1aeed09c 100644 --- a/QuickBooks/QBXML/Object/BillPaymentCheck.php +++ b/QuickBooks/QBXML/Object/BillPaymentCheck.php @@ -406,24 +406,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - /* - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - */ - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/BillPaymentCheck/AppliedToTxn.php b/QuickBooks/QBXML/Object/BillPaymentCheck/AppliedToTxn.php index a74b7c95..71844d31 100755 --- a/QuickBooks/QBXML/Object/BillPaymentCheck/AppliedToTxn.php +++ b/QuickBooks/QBXML/Object/BillPaymentCheck/AppliedToTxn.php @@ -130,21 +130,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Check.php b/QuickBooks/QBXML/Object/Check.php index 20a194d2..f1d32284 100644 --- a/QuickBooks/QBXML/Object/Check.php +++ b/QuickBooks/QBXML/Object/Check.php @@ -505,20 +505,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QuickBooks_QBXML_Object::XML_DROP, $indent = "\t", $root = null, $parent = null) - { - $this->_cleanup(); - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * */ diff --git a/QuickBooks/QBXML/Object/Check/ItemLine.php b/QuickBooks/QBXML/Object/Check/ItemLine.php index a2ec2bb2..3aa1ee83 100755 --- a/QuickBooks/QBXML/Object/Check/ItemLine.php +++ b/QuickBooks/QBXML/Object/Check/ItemLine.php @@ -533,20 +533,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - public function object() { return 'ItemLine'; diff --git a/QuickBooks/QBXML/Object/Class.php b/QuickBooks/QBXML/Object/Class.php index 1dcad7ba..3704e767 100755 --- a/QuickBooks/QBXML/Object/Class.php +++ b/QuickBooks/QBXML/Object/Class.php @@ -169,22 +169,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/CreditCardRefund.php b/QuickBooks/QBXML/Object/CreditCardRefund.php index f3c0c676..69fb93e8 100644 --- a/QuickBooks/QBXML/Object/CreditCardRefund.php +++ b/QuickBooks/QBXML/Object/CreditCardRefund.php @@ -370,22 +370,6 @@ public function asArray($request, $nest = true) $this->_cleanup(); return parent::asArray($request, $nest); } - - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (ARRefundCreditCardAddRq, or ARRefundCreditCardQuery) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = NULL, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } public function object() { diff --git a/QuickBooks/QBXML/Object/CreditMemo.php b/QuickBooks/QBXML/Object/CreditMemo.php index e3586e1e..3054e978 100644 --- a/QuickBooks/QBXML/Object/CreditMemo.php +++ b/QuickBooks/QBXML/Object/CreditMemo.php @@ -274,21 +274,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QuickBooks_QBXML_Object::XML_DROP, $indent = "\t", $root = null, $parent = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - public function object() { return QUICKBOOKS_OBJECT_CREDITMEMO; } diff --git a/QuickBooks/QBXML/Object/CreditMemo/CreditMemoLine.php b/QuickBooks/QBXML/Object/CreditMemo/CreditMemoLine.php index 03d5194d..b4b27d42 100755 --- a/QuickBooks/QBXML/Object/CreditMemo/CreditMemoLine.php +++ b/QuickBooks/QBXML/Object/CreditMemo/CreditMemoLine.php @@ -140,19 +140,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - - /** - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } /** * Tell the type of object this is diff --git a/QuickBooks/QBXML/Object/Customer.php b/QuickBooks/QBXML/Object/Customer.php index 70f2b333..c794186b 100755 --- a/QuickBooks/QBXML/Object/Customer.php +++ b/QuickBooks/QBXML/Object/Customer.php @@ -804,22 +804,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/CustomerType.php b/QuickBooks/QBXML/Object/CustomerType.php index 0d2807de..1bdbb04f 100755 --- a/QuickBooks/QBXML/Object/CustomerType.php +++ b/QuickBooks/QBXML/Object/CustomerType.php @@ -179,22 +179,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/DataExt.php b/QuickBooks/QBXML/Object/DataExt.php index 5f9a51b5..9efb2f69 100755 --- a/QuickBooks/QBXML/Object/DataExt.php +++ b/QuickBooks/QBXML/Object/DataExt.php @@ -185,22 +185,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Department.php b/QuickBooks/QBXML/Object/Department.php index c66a2ba7..087af0cb 100644 --- a/QuickBooks/QBXML/Object/Department.php +++ b/QuickBooks/QBXML/Object/Department.php @@ -155,22 +155,6 @@ public function asArray($request, $nest = true) // @TODO implement parent::asArray return array(); } - - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param string $version - * @param string $locale - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } /** * Tell what type of object this is diff --git a/QuickBooks/QBXML/Object/Deposit.php b/QuickBooks/QBXML/Object/Deposit.php index bff260a6..0ee5ec25 100644 --- a/QuickBooks/QBXML/Object/Deposit.php +++ b/QuickBooks/QBXML/Object/Deposit.php @@ -227,20 +227,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null, $parent = null) - { - $this->_cleanup(); - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * */ diff --git a/QuickBooks/QBXML/Object/Deposit/DepositLine.php b/QuickBooks/QBXML/Object/Deposit/DepositLine.php index 60b25bd2..a2aa2dc3 100755 --- a/QuickBooks/QBXML/Object/Deposit/DepositLine.php +++ b/QuickBooks/QBXML/Object/Deposit/DepositLine.php @@ -212,20 +212,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - public function object() { return 'DepositLine'; diff --git a/QuickBooks/QBXML/Object/DiscountItem.php b/QuickBooks/QBXML/Object/DiscountItem.php index ac87d2b6..aee52bfa 100755 --- a/QuickBooks/QBXML/Object/DiscountItem.php +++ b/QuickBooks/QBXML/Object/DiscountItem.php @@ -209,22 +209,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Employee.php b/QuickBooks/QBXML/Object/Employee.php index 21e06bff..a5c51380 100755 --- a/QuickBooks/QBXML/Object/Employee.php +++ b/QuickBooks/QBXML/Object/Employee.php @@ -367,22 +367,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Estimate.php b/QuickBooks/QBXML/Object/Estimate.php index 99d8a2b0..e1cefba3 100755 --- a/QuickBooks/QBXML/Object/Estimate.php +++ b/QuickBooks/QBXML/Object/Estimate.php @@ -644,21 +644,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null, $parent = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Estimate/EstimateLine.php b/QuickBooks/QBXML/Object/Estimate/EstimateLine.php index a03d2bc6..179564e4 100755 --- a/QuickBooks/QBXML/Object/Estimate/EstimateLine.php +++ b/QuickBooks/QBXML/Object/Estimate/EstimateLine.php @@ -325,21 +325,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/FixedAssetItem.php b/QuickBooks/QBXML/Object/FixedAssetItem.php index 760e6ebb..00496097 100755 --- a/QuickBooks/QBXML/Object/FixedAssetItem.php +++ b/QuickBooks/QBXML/Object/FixedAssetItem.php @@ -284,22 +284,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Generic.php b/QuickBooks/QBXML/Object/Generic.php index 1aee8326..6eb8c6b0 100755 --- a/QuickBooks/QBXML/Object/Generic.php +++ b/QuickBooks/QBXML/Object/Generic.php @@ -64,22 +64,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/GroupItem.php b/QuickBooks/QBXML/Object/GroupItem.php index 0493d215..1c00b94e 100644 --- a/QuickBooks/QBXML/Object/GroupItem.php +++ b/QuickBooks/QBXML/Object/GroupItem.php @@ -284,22 +284,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/InventoryAdjustment.php b/QuickBooks/QBXML/Object/InventoryAdjustment.php index 11c8d852..0b4f23ed 100644 --- a/QuickBooks/QBXML/Object/InventoryAdjustment.php +++ b/QuickBooks/QBXML/Object/InventoryAdjustment.php @@ -561,21 +561,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } /** * Tell what type of object this is diff --git a/QuickBooks/QBXML/Object/InventoryAdjustment/InventoryAdjustmentLine.php b/QuickBooks/QBXML/Object/InventoryAdjustment/InventoryAdjustmentLine.php index 3abdcfa3..8ef609f0 100644 --- a/QuickBooks/QBXML/Object/InventoryAdjustment/InventoryAdjustmentLine.php +++ b/QuickBooks/QBXML/Object/InventoryAdjustment/InventoryAdjustmentLine.php @@ -135,22 +135,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/InventoryAssemblyItem.php b/QuickBooks/QBXML/Object/InventoryAssemblyItem.php index e0cacbef..5e5e1b20 100755 --- a/QuickBooks/QBXML/Object/InventoryAssemblyItem.php +++ b/QuickBooks/QBXML/Object/InventoryAssemblyItem.php @@ -294,22 +294,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/InventoryItem.php b/QuickBooks/QBXML/Object/InventoryItem.php index 01995b29..94825751 100755 --- a/QuickBooks/QBXML/Object/InventoryItem.php +++ b/QuickBooks/QBXML/Object/InventoryItem.php @@ -360,22 +360,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Invoice.php b/QuickBooks/QBXML/Object/Invoice.php index d85e963b..cc0b99f4 100755 --- a/QuickBooks/QBXML/Object/Invoice.php +++ b/QuickBooks/QBXML/Object/Invoice.php @@ -1049,21 +1049,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QuickBooks_QBXML_Object::XML_DROP, $indent = "\t", $root = null, $parent = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Invoice/DiscountLine.php b/QuickBooks/QBXML/Object/Invoice/DiscountLine.php index a99128d2..5e375cf4 100755 --- a/QuickBooks/QBXML/Object/Invoice/DiscountLine.php +++ b/QuickBooks/QBXML/Object/Invoice/DiscountLine.php @@ -97,23 +97,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Invoice/InvoiceLine.php b/QuickBooks/QBXML/Object/Invoice/InvoiceLine.php index a989b092..f65d45f9 100755 --- a/QuickBooks/QBXML/Object/Invoice/InvoiceLine.php +++ b/QuickBooks/QBXML/Object/Invoice/InvoiceLine.php @@ -398,21 +398,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Invoice/SalesTaxLine.php b/QuickBooks/QBXML/Object/Invoice/SalesTaxLine.php index 2b287ff6..d898ded2 100644 --- a/QuickBooks/QBXML/Object/Invoice/SalesTaxLine.php +++ b/QuickBooks/QBXML/Object/Invoice/SalesTaxLine.php @@ -94,23 +94,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Invoice/ShippingLine.php b/QuickBooks/QBXML/Object/Invoice/ShippingLine.php index c315129b..f86c99a7 100755 --- a/QuickBooks/QBXML/Object/Invoice/ShippingLine.php +++ b/QuickBooks/QBXML/Object/Invoice/ShippingLine.php @@ -89,23 +89,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/Item.php b/QuickBooks/QBXML/Object/Item.php index 13253866..7d5c3278 100644 --- a/QuickBooks/QBXML/Object/Item.php +++ b/QuickBooks/QBXML/Object/Item.php @@ -220,22 +220,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ItemReceipt.php b/QuickBooks/QBXML/Object/ItemReceipt.php index 6ce841fe..9c7fd423 100644 --- a/QuickBooks/QBXML/Object/ItemReceipt.php +++ b/QuickBooks/QBXML/Object/ItemReceipt.php @@ -446,21 +446,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } /** * Tell what type of object this is diff --git a/QuickBooks/QBXML/Object/ItemReceipt/ExpenseLine.php b/QuickBooks/QBXML/Object/ItemReceipt/ExpenseLine.php index 0de7ff61..393b4783 100644 --- a/QuickBooks/QBXML/Object/ItemReceipt/ExpenseLine.php +++ b/QuickBooks/QBXML/Object/ItemReceipt/ExpenseLine.php @@ -169,22 +169,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ItemReceipt/ItemGroupLine.php b/QuickBooks/QBXML/Object/ItemReceipt/ItemGroupLine.php index bc5be5e3..36dd50c3 100644 --- a/QuickBooks/QBXML/Object/ItemReceipt/ItemGroupLine.php +++ b/QuickBooks/QBXML/Object/ItemReceipt/ItemGroupLine.php @@ -116,22 +116,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ItemReceipt/ItemLine.php b/QuickBooks/QBXML/Object/ItemReceipt/ItemLine.php index c925c239..5984fe27 100644 --- a/QuickBooks/QBXML/Object/ItemReceipt/ItemLine.php +++ b/QuickBooks/QBXML/Object/ItemReceipt/ItemLine.php @@ -266,22 +266,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/NonInventoryItem.php b/QuickBooks/QBXML/Object/NonInventoryItem.php index 98040666..3936ce2d 100755 --- a/QuickBooks/QBXML/Object/NonInventoryItem.php +++ b/QuickBooks/QBXML/Object/NonInventoryItem.php @@ -404,22 +404,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/OtherChargeItem.php b/QuickBooks/QBXML/Object/OtherChargeItem.php index f0a50d96..a1b777a7 100755 --- a/QuickBooks/QBXML/Object/OtherChargeItem.php +++ b/QuickBooks/QBXML/Object/OtherChargeItem.php @@ -480,22 +480,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/PaymentItem.php b/QuickBooks/QBXML/Object/PaymentItem.php index 2017e603..4b1a7376 100755 --- a/QuickBooks/QBXML/Object/PaymentItem.php +++ b/QuickBooks/QBXML/Object/PaymentItem.php @@ -482,22 +482,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/PaymentMethod.php b/QuickBooks/QBXML/Object/PaymentMethod.php index 52bff23b..f0b38159 100755 --- a/QuickBooks/QBXML/Object/PaymentMethod.php +++ b/QuickBooks/QBXML/Object/PaymentMethod.php @@ -122,22 +122,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ReceivePayment.php b/QuickBooks/QBXML/Object/ReceivePayment.php index d4c099b8..51435e50 100755 --- a/QuickBooks/QBXML/Object/ReceivePayment.php +++ b/QuickBooks/QBXML/Object/ReceivePayment.php @@ -518,24 +518,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - /* - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - */ - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ReceivePayment/AppliedToTxn.php b/QuickBooks/QBXML/Object/ReceivePayment/AppliedToTxn.php index d4becb37..6e8d567a 100755 --- a/QuickBooks/QBXML/Object/ReceivePayment/AppliedToTxn.php +++ b/QuickBooks/QBXML/Object/ReceivePayment/AppliedToTxn.php @@ -125,21 +125,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesOrder.php b/QuickBooks/QBXML/Object/SalesOrder.php index a92232b1..09b20b21 100755 --- a/QuickBooks/QBXML/Object/SalesOrder.php +++ b/QuickBooks/QBXML/Object/SalesOrder.php @@ -774,23 +774,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - - /** - * - * - * @param $request - * @param null $version - * @param null $locale - * @param string $root - * - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } /** * Tell the type of object this is diff --git a/QuickBooks/QBXML/Object/SalesOrder/SalesOrderLine.php b/QuickBooks/QBXML/Object/SalesOrder/SalesOrderLine.php index eb88274b..117bebb1 100755 --- a/QuickBooks/QBXML/Object/SalesOrder/SalesOrderLine.php +++ b/QuickBooks/QBXML/Object/SalesOrder/SalesOrderLine.php @@ -299,21 +299,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesReceipt.php b/QuickBooks/QBXML/Object/SalesReceipt.php index 6ad6fec4..b69fde49 100755 --- a/QuickBooks/QBXML/Object/SalesReceipt.php +++ b/QuickBooks/QBXML/Object/SalesReceipt.php @@ -829,21 +829,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null, $parent = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesReceipt/DiscountLine.php b/QuickBooks/QBXML/Object/SalesReceipt/DiscountLine.php index 6f642af5..45210641 100755 --- a/QuickBooks/QBXML/Object/SalesReceipt/DiscountLine.php +++ b/QuickBooks/QBXML/Object/SalesReceipt/DiscountLine.php @@ -94,23 +94,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesReceipt/SalesReceiptLine.php b/QuickBooks/QBXML/Object/SalesReceipt/SalesReceiptLine.php index 986b5f17..4bb9cb8b 100755 --- a/QuickBooks/QBXML/Object/SalesReceipt/SalesReceiptLine.php +++ b/QuickBooks/QBXML/Object/SalesReceipt/SalesReceiptLine.php @@ -216,23 +216,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - /*public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - }*/ - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesReceipt/SalesTaxLine.php b/QuickBooks/QBXML/Object/SalesReceipt/SalesTaxLine.php index 066722f2..f2df10c4 100644 --- a/QuickBooks/QBXML/Object/SalesReceipt/SalesTaxLine.php +++ b/QuickBooks/QBXML/Object/SalesReceipt/SalesTaxLine.php @@ -91,23 +91,6 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesReceipt/ShippingLine.php b/QuickBooks/QBXML/Object/SalesReceipt/ShippingLine.php index 64da1550..bb59719f 100755 --- a/QuickBooks/QBXML/Object/SalesReceipt/ShippingLine.php +++ b/QuickBooks/QBXML/Object/SalesReceipt/ShippingLine.php @@ -85,24 +85,7 @@ public function asXML($root = null, $parent = null, $object = null) return parent::asXML($root, $parent, $object); } - - /** - * - * - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - + /** * Tell the type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesRep.php b/QuickBooks/QBXML/Object/SalesRep.php index 6a813315..c99e9f95 100644 --- a/QuickBooks/QBXML/Object/SalesRep.php +++ b/QuickBooks/QBXML/Object/SalesRep.php @@ -101,22 +101,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version = null, $locale = null, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesTaxGroupItem.php b/QuickBooks/QBXML/Object/SalesTaxGroupItem.php index a46bffc7..14dfea30 100644 --- a/QuickBooks/QBXML/Object/SalesTaxGroupItem.php +++ b/QuickBooks/QBXML/Object/SalesTaxGroupItem.php @@ -128,20 +128,6 @@ public function listItemSalesTaxRefs() return $this->getList('ItemSalesTaxRef'); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/SalesTaxItem.php b/QuickBooks/QBXML/Object/SalesTaxItem.php index 0c684646..7742dfcd 100755 --- a/QuickBooks/QBXML/Object/SalesTaxItem.php +++ b/QuickBooks/QBXML/Object/SalesTaxItem.php @@ -165,22 +165,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ServiceItem.php b/QuickBooks/QBXML/Object/ServiceItem.php index 9a8c9fca..8ddd748b 100755 --- a/QuickBooks/QBXML/Object/ServiceItem.php +++ b/QuickBooks/QBXML/Object/ServiceItem.php @@ -529,22 +529,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version, $locale, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/ShipMethod.php b/QuickBooks/QBXML/Object/ShipMethod.php index c42d78a4..8db96946 100755 --- a/QuickBooks/QBXML/Object/ShipMethod.php +++ b/QuickBooks/QBXML/Object/ShipMethod.php @@ -150,22 +150,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $version = null, $locale = null, $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $version = null, $locale = null, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/StandardTerms.php b/QuickBooks/QBXML/Object/StandardTerms.php index 7bd4c5d1..bcca9f50 100755 --- a/QuickBooks/QBXML/Object/StandardTerms.php +++ b/QuickBooks/QBXML/Object/StandardTerms.php @@ -197,22 +197,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is * diff --git a/QuickBooks/QBXML/Object/Vendor.php b/QuickBooks/QBXML/Object/Vendor.php index b59810b4..91672a5a 100755 --- a/QuickBooks/QBXML/Object/Vendor.php +++ b/QuickBooks/QBXML/Object/Vendor.php @@ -374,22 +374,6 @@ public function asArray($request, $nest = true) return parent::asArray($request, $nest); } - /** - * Convert this object to a valid qbXML request - * - * @param string $request The type of request to convert this to (examples: CustomerAddRq, CustomerModRq, CustomerQueryRq) - * @param boolean $todo_for_empty_elements A constant, one of: QUICKBOOKS_XML_XML_COMPRESS, QUICKBOOKS_XML_XML_DROP, QUICKBOOKS_XML_XML_PRESERVE - * @param string $indent - * @param string $root - * @return string - */ - public function asQBXML($request, $todo_for_empty_elements = QUICKBOOKS_OBJECT_XML_DROP, $indent = "\t", $root = null) - { - $this->_cleanup(); - - return parent::asQBXML($request, $todo_for_empty_elements, $indent, $root); - } - /** * Tell what type of object this is *