src/Utilities.php
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);
        }
    }
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);
        }
    }
Adds location information including company name, attention name and address.

@param stdClass $location
@param DOMNode $locationNode

@deprecated Use NodeInterface on entities instead