WWW::LogicBoxes::Role::Command::Domain::Transfer - Domain Transfer Related Operations
use WWW::LogicBoxes; use WWW::LogicBoxes::DomainTransfer; use WWW::LogicBoxes::DomainRequest::Transfer; my $logic_boxes = WWW::LogicBoxes->new( ... ); # Check Transferability if( $logic_boxes->is_domain_transferable( 'some-domain.com' ) ) { print "Domain is transferable'; } else { print "Domain is not transferable"; } # Transfer Domain my $transfer_request = WWW::LogicBoxes::DomainRequest::Transfer->new( ... ); my $domain_transfer = $logic_boxes->transfer_domain( $transfer_request ); # Deletion $logic_boxes->delete_domain_transfer_by_id( $domain_transfer->id ); # Resend Transfer Approval Mail $logic_boxes->resend_transfer_approval_mail_by_id( $domain_transfer->id );
Implemented domain transfer related operations with the LogicBoxes' API.
use WWW::LogicBoxes; my $logic_boxes = WWW::LogicBoxes->new( ... ); if( $logic_boxes->is_domain_transferable( 'some-domain.com' ) ) { print "Domain is transferable'; } else { print "Domain is not transferable"; }
Given a domain name, uses LogicBoxes to determine if this domain is transferable in it's current state.
NOTE LogicBoxes will accept transfer requests even if the domain is not actually eligble for transfer so you should call this method before making a domain transfer request.
use WWW::LogicBoxes; use WWW::LogicBoxes::DomainTransfer; use WWW::LogicBoxes::DomainRequest::Transfer; my $logic_boxes = WWW::LogicBoxes->new( ... ); my $transfer_request = WWW::LogicBoxes::DomainRequest::Transfer->new( ... ); my $domain_transfer = $logic_boxes->transfer_domain( $transfer_request );
Given a WWW::LogicBoxes::DomainRequest::Transfer or a HashRef that can be coerced into a WWW::LogicBoxes::DomainRequest::Transfer, attempt to transfer the domain with LogicBoxes.
Returns a fully formed WWW::LogicBoxes::DomainTransfer.
use WWW::LogicBoxes; use WWW::LogicBoxes::DomainTransfer; use WWW::LogicBoxes::DomainRequest::Transfer; my $logic_boxes = WWW::LogicBoxes->new( ... ); my $domain_transfer = $logic_boxes->get_domain_by_id( ... ); $logic_boxes->delete_domain_transfer_by_id( $domain_transfer->id );
Given an Integer representing an in progress transfer, deletes the specfied domain transfer. There is a limited amount of time in which you can do this for a new transfer, and you can only do it before the transfer is completed. If you do this too often then LogicBoxes will get grumpy with you.
use WWW::LogicBoxes; use WWW::LogicBoxes::DomainTransfer; use WWW::LogicBoxes::DomainRequest::Transfer; my $logic_boxes = WWW::LogicBoxes->new( ... ); my $domain_transfer = $logic_boxes->get_domain_by_id( ... ); $logic_boxes->resend_transfer_approval_mail_by_id( $domain_transfer->id );
Given an Integer representing an in progress transfer that has not yet been approved by the admin contact as specified by the losing registrar, will resend the transfer approval email. If this method is used on a completed transfer, a registration, or a domain that has already been approved this method will croak with an error.
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.