Skip to content

Commit

Permalink
Carbon neutral option added the Missing Create Element and Append it …
Browse files Browse the repository at this point in the history
…to Current Node (#338)
  • Loading branch information
Shehryar2 authored Feb 28, 2022
1 parent 1847987 commit b0c73fd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Entity/ShipmentServiceOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ public function toNode(DOMDocument $document = null)
}
}

if (isset($this->UPScarbonneutralIndicator)) {
$node->appendChild($document->createElement('UPScarbonneutralIndicator'));
}

return $node;
}

Expand Down

0 comments on commit b0c73fd

Please sign in to comment.