code: public static function addAddressArtifactNode(&$address, DOMNode $element)
      {
          $node = $element->appendChild($element->ownerDocument->createElement('AddressArtifactFormat'));
          self::appendChild($address, 'CountryCode', $node);
          self::appendChild($address, 'PoliticalDivision1', $node);
          self::appendChild($address, 'PoliticalDivision2', $node);
          self::appendChild($address, 'PostcodePrimaryLow', $node);
      }
docs: Generates an artifact <Address> node for requests.
  
  @param stdClass $address An address data structure
  @param DOMNode $element
  
  @deprecated Use NodeInterface on entities instead