code: public static function addLocationInformation(stdClass $location, DOMNode $locationNode)
      {
          self::appendChild($location, 'CompanyName', $locationNode);
          self::appendChild($location, 'AttentionName', $locationNode);
  
          if (isset($location->Address)) {
              self::addAddressNode($location->Address, $locationNode);
          }
      }
docs: Adds location information including company name, attention name and address.
  
  @param stdClass $location
  @param DOMNode $locationNode
  
  @deprecated Use NodeInterface on entities instead