The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::LogicBoxes::Role::Command::Domain::Registration - Domain Registration Related Operations

SYNOPSIS

    use WWW::LogicBoxes;
    use WWW::LogicBoxes::Domain;
    use WWW::LogicBoxes::DomainRequest::Registration;

    my $logic_boxes = WWW::LogicBoxes->new( ... );

    # Creation
    my $registration_request = WWW::LogicBoxes::DomainRequest::Registration->new( ... );
    my $domain = $logic_boxes->register_domain( request => $registration_request );

    # Deletion
    $logic_boxes->delete_domain_registration_by_id( $domain->id );

REQUIRES

submit
get_domain_by_id

DESCRIPTION

Implements domain registration related operations with the LogicBoxes's API.

METHODS

register_domain

    use WWW::LogicBoxes;
    use WWW::LogicBoxes::Domain;
    use WWW::LogicBoxes::DomainRequest::Registration;

    my $logic_boxes = WWW::LogicBoxes->new( ... );

    my $registration_request = WWW::LogicBoxes::DomainRequest::Registration->new( ... );
    my $domain = $logic_boxes->register_domain( request => $registration_request );

Given a WWW::LogicBoxes::DomainRequest::Registration or a HashRef that can be coreced into a WWW::LogicBoxes::DomainRequest::Registration, attempts to register a domain with LogicBoxes.

Returned is a fully formed WWW::LogicBoxes::Domain.

delete_domain_registration_by_id

    use WWW::LogicBoxes;
    use WWW::LogicBoxes::Domain;

    my $logic_boxes = WWW::LogicBoxes->new( ... );

    $logic_boxes->delete_domain_registration_by_id( $domain->id );

Given an Integer domain id, deletes the specified domain registration. There is a limited amount of time in which you can do this for a new order (typically between 24 and 72 hours) and if you do this too often then LogicBoxes will get grumpy with you.