Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quickbooks/v3-php-sdk",
"description": "The Official PHP SDK for QuickBooks Online Accounting API",
"name": "dieruckus/v3-php-sdk",
"description": "The Official PHP SDK for QuickBooks Online Accounting API / moded",
"type": "library",
"keywords": ["api", "http", "rest", "quickbooks", "smallbusiness"],
"homepage": "http://developer.intuit.com",
Expand All @@ -22,8 +22,8 @@
"license": "Apache-2.0",
"authors": [
{
"name": "abisalehalliprasan",
"email": "anil_kumar3@intuit.com"
"name": "die_ruckus",
"email": "dieruckusdie@gmail.com"
}
],
"suggest": {
Expand Down
10 changes: 10 additions & 0 deletions src/XSD2PHP/src/com/mikebevz/xsd2php/Bind.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
class Bind extends Common
{

public static $ignore_parameters = [
'QuickBooksOnline\API\Data\IPPPayment' => [
'ProjectRef'
]
];

//protected $dom;
//protected $namespaces;

Expand Down Expand Up @@ -130,6 +136,10 @@ public function bindXml($xml, $model)
list($ns, $name) = $this->parseQName($child->nodeName, true);
//$className = $this->urnToPhpName($ns)."\\".$name;
try {
// skip incoming XML parse assigning parameters to be ignored
if(isset(self::$ignore_parameters[get_class($model)]) && in_array($name, self::$ignore_parameters[get_class($model)])){
continue;
}
$propertyDocs = $refl->getProperty($name)->getDocComment();
} catch (\ReflectionException $e) {
throw new \RuntimeException($e->getMessage() . ". Class " . get_class($model));
Expand Down