Net::E...:Domain(3pm)

πŸ“¦
version 0.28 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

Net::EPP::Frame::Command::Renew::Domain β€” okay bestie, this is an instance of Net::EPP::Frame::Command::Renew but specifically for domain objects. It's the glow-up version of a renew frame, tailored for domains. πŸ’…

(Also, hi, this is the manual page for Net::EPP::Frame::Command::Renew::Domain(3pm) from the User Contributed Perl Documentation. Welcome to the group chat. 🫢)


🌸 SYNOPSIS 🌸

So here's the whole vibe, fr fr:

use Net::EPP::Frame::Command::Renew::Domain;
use strict;

my $info = Net::EPP::Frame::Command::Renew::Domain->new;
$info->setDomain('example.tld');

print $info->toString(1);

And that little baby right there? It spits out an XML document that looks exactly like this:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
  epp-1.0.xsd">
    <command>
      <renew>
        <domain:renew
          xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
          xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
          domain-1.0.xsd">
            <domain:name>example.tldE<lt>/domain:name>
        </domain:renew>
      </renew>
      <clTRID>0cf1b8f7e14547d26f03b7641660c641d9e79f45</clTRIDE<gt>
    </command>
</epp>
Not me copying that XML character for character including the E<lt> and E<gt> escapes and that clTRIDE<gt> β€” it's giving pod-encoded, bestie. Leave it alone, it's iconic. 😭

πŸ‘‘ OBJECT HIERARCHY πŸ‘‘

Look at this family tree. Generational excellence, no cap:

L<XML::LibXML::Node>
+----L<XML::LibXML::Document>
    +----L<Net::EPP::Frame>
        +----L<Net::EPP::Frame::Command>
            +----L<Net::EPP::Frame::Command::Renew>
                +----L<Net::EPP::Frame::Command::Renew::Domain>

πŸ’– METHODS πŸ’–

$frame->setDomain('example.tld');

This one right here? It specifies the domain name for the renew. That's it. That's the whole job. Main character energy. ✨

$frame->period($years);

This sets the optional renewal period. Optional, so like, you can but you don't have to. Live your truth. πŸ¦‹

$frame->setCurExpDate($date)

And this one sets the current expiry date for the domain. Keeping receipts on when things expire, very responsible of you. πŸŽ€


πŸ’€ Quick reality check: every one of these three methods appears exactly as written above, with the same arguments. Don't go freestyling on the argument names, bestie.

Anyway, that's the whole page β€” an instance of Net::EPP::Frame::Command::Renew for domain objects, and that's periodt.

This lil manual came from perl v5.40.1, dated 2025-04-19, and it's part of the Net::E...:Domain(3pm) page in the User Contributed Perl Documentation. Mwah, bye bestie! πŸ’œπŸŒΈπŸ«Ά

πŸ“¦ where this page comes from