WWW::LogicBoxes::DomainRequest::Transfer - Representation of Domain Transfer Request
use WWW::LogicBoxes; use WWW::LogicBoxes::Customer; use WWW::LogicBoxes::Contact; use WWW::LogicBoxes::DomainTransfer; use WWW::LogicBoxes::DomainRequest::Transfer; my $logic_boxes = WWW::LogicBoxes->new( ... ); my $customer = WWW:::LogicBoxes::Customer->new( ... ); # Valid LogicBoxes Customer my $registrant_contact = WWW::LogicBoxes::Contact->new( ... ); # Valid LogicBoxes Contact my $admin_contact = WWW::LogicBoxes::Contact->new( ... ); # Valid LogicBoxes Contact my $technical_contact = WWW::LogicBoxes::Contact->new( ... ); # Valid LogicBoxes Contact my $billing_contact = WWW::LogicBoxes::Contact->new( ... ); # Valid LogicBoxes Contact my $transfer_request = WWW::LogicBoxes::DomainRequest::Transfer->new( name => 'test-domain.com', customer_id => $customer->id, ns => [ 'ns1.logicboxes.com', 'ns2.logicboxes.com' ], registrant_contact_id => $registrant_contact->id, admin_contact_id => $admin_contact->id, technical_contact_id => $technical_contact->id, billing_contact_id => $billing_contact->id, invoice_option => 'NoInvoice', ); my $transfer_domain = $logic_boxes->transfer_domain( request => $transfer_request );
WWW::LogicBoxes::DomainRequest
WWW::LogicBoxes::DomainRequest::Transfer is a representation of all the data needed in order to complete a domain transfer. It is used when requesting a new domain transfer from LogicBoxes.
All of the existing WWW::LogicBoxes::DomainRequest attributes remain unchanged with one addition attribute.
The epp_key (what LogicBoxes calls the auth code) to register this domain transfer for. This need not be specified at this point, and a predicate of has_epp_key is provied.
This method is used internally, it's fairly unlikely that consumers will ever call it directly.
my $logic_boxes = WWW::LogicBoxes->new( ... ); my $transfer_request = WWW::LogicBoxes::DomainRequest::Transfer->new( ... ); my $response = $logic_boxes->submit({ method => 'domains__transfer', params => $transfer_request->consturct_request(), });
Converts $self into a HashRef suitable for requesting a domain transfer with LogicBoxes.
To install WWW::LogicBoxes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::LogicBoxes
CPAN shell
perl -MCPAN -e shell install WWW::LogicBoxes
For more information on module installation, please visit the detailed CPAN module installation guide.