Open
Description
I would like to create a TrackingOption as part of preparing a Demo Company for development.
Unfortunately the following code does nothing
$option = new TrackingOption($xeroConnection);
$option->setName($email);
$trackingCategory->addOption($option);
$trackingCategory->save();
Having inspected the savePropertiesDirectly method, I extracted the following XML body
<s><s><Name>[email protected]</Name></s></s>
I can see that in #801 @philipdarlo set TrackingOption::getRootNodeName
to an empty string for some reason.
I can obviously PR to restore the word "Option" but was there any particular reason for blanking the return?
Metadata
Metadata
Assignees
Labels
No labels