NAME

Net::RRP::Request::Renew - rrp renew request representation.

SYNOPSIS

use Net::RRP::Request::Renew;
my $renewRequest = new Net::RRP::Request::Renew 
   ( entity  => new Net::RRP::Entity::Domain ( DomainName => 'domain.ru' )
     options => { Period => 10, CurrentExpirationYear => 2000 } );

DESCRIPTION

This is a rrp renew request representation class.

getName

return a 'Renew'

setEntity

throw Net::RRP::Exception::InvalidEntityValue unless entity is Net::RRP::Entity::Domain

setOption

Pass only Period && CurrentExpirationYear option. Throw Net::RRP::Exception::InvalidCommandOption at other case.

AUTHOR AND COPYRIGHT

Net::RRP::Request::Renew (C) Michael Kulakov, Zenon N.S.P. 2000
                       125124, 19, 1-st Jamskogo polja st,
                       Moscow, Russian Federation

                       mkul@cpan.org

All rights reserved.

You may distribute this package under the terms of either the GNU
General Public License or the Artistic License, as specified in the
Perl README file.

SEE ALSO

Net::RRP::Request(3), Net::RRP::Codec(3), Net::RRP::Entity::Domain(3), Net::RRP::Entity::NameServer(3), RFC 2832, Net::RRP::Exception::InvalidCommandOption(3), Net::RRP::Exception::InvalidEntityValue(3)