public static function addAddressNode(&$address, DOMNode $element)
    {
        $node = $element->appendChild($element->ownerDocument->createElement('Address'));
        self::appendChild($address, 'AddressLine1', $node);
        self::appendChild($address, 'AddressLine2', $node);
        self::appendChild($address, 'AddressLine3', $node);
        self::appendChild($address, 'City', $node);
        self::appendChild($address, 'StateProvinceCode', $node);
        self::appendChild($address, 'PostalCode', $node);
        self::appendChild($address, 'CountryCode', $node);
    }
public static function addAddressNode(&$address, DOMNode $element)
    {
        $node = $element->appendChild($element->ownerDocument->createElement('Address'));
        self::appendChild($address, 'AddressLine1', $node);
        self::appendChild($address, 'AddressLine2', $node);
        self::appendChild($address, 'AddressLine3', $node);
        self::appendChild($address, 'City', $node);
        self::appendChild($address, 'StateProvinceCode', $node);
        self::appendChild($address, 'PostalCode', $node);
        self::appendChild($address, 'CountryCode', $node);
    }
public static function addAddressNode ( & $ address , DOMNode $ element ) { $ node = $ element -> appendChild ( $ element -> ownerDocument -> createElement ( 'Address' ) ) ; self :: appendChild ( $ address , 'AddressLine1' , $ node ) ; self :: appendChild ( $ address , 'AddressLine2' , $ node ) ; self :: appendChild ( $ address , 'AddressLine3' , $ node ) ; self :: appendChild ( $ address , 'City' , $ node ) ; self :: appendChild ( $ address , 'StateProvinceCode' , $ node ) ; self :: appendChild ( $ address , 'PostalCode' , $ node ) ; self :: appendChild ( $ address , 'CountryCode' , $ node ) ; }
Generates a standard <Address> node for requests.

@param stdClass $address An address data structure
@param DOMNode $element

@deprecated Use NodeInterface on entities instead
Generates a standard <Address > node for requests .