libepp_nicbr
Public Member Functions | Protected Attributes | List of all members
DefRegRenewCmd Class Reference

EPP DefRegRenewCmd Class. More...

#include <DefRegRenewCmd.H>

Inheritance diagram for DefRegRenewCmd:
Command

Public Member Functions

 DefRegRenewCmd (bool reset=true)
 Default constructor.
 
void set_roid (const string &roid)
 Set defensive registration roid. More...
 
string get_roid () const
 Returns defensive registration roid. More...
 
void set_cur_exp_date (const string &date)
 Sets date on which the current validity period ends. More...
 
string get_cur_exp_date () const
 Returns date on which the current validity period ends. More...
 
void set_period (const int time, const string &unit)
 
RegistrationPeriod get_period () const
 
void reset ()
 Reset object attributes.
 
- Public Member Functions inherited from Command
 Command (bool reset=true)
 Default constructor.
 
void reset ()
 Reset object attributes. More...
 
virtual ~Command ()
 virtual destructor
 
void set_clTRID (const string &clTRID)
 Sets clTRID. More...
 
string get_clTRID () const
 Returns clTRID. More...
 

Protected Attributes

string _roid
 Defensive registration roid.
 
string _cur_exp_date
 Date on which the current validity period ends.
 
RegistrationPeriod _period
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP DefRegRenewCmd Class.

Member Function Documentation

string DefRegRenewCmd::get_cur_exp_date ( ) const
inline

Returns date on which the current validity period ends.

Returns
date on which the current validity period ends

References _cur_exp_date.

Referenced by cmd_def_reg_renew().

RegistrationPeriod DefRegRenewCmd::get_period ( ) const
inline

Returns number of units to be added to the registration period of the Defensive Registration object

Returns
number of units to be added to the registration period

References _period.

Referenced by cmd_def_reg_renew().

string DefRegRenewCmd::get_roid ( ) const
inline

Returns defensive registration roid.

Returns
identification of a defensive registration

References _roid.

Referenced by cmd_def_reg_renew().

void DefRegRenewCmd::set_cur_exp_date ( const string &  date)
inline

Sets date on which the current validity period ends.

Parameters
datedate on which the current validity period ends

References _cur_exp_date.

Referenced by cmd_def_reg_renew().

void DefRegRenewCmd::set_period ( const int  time,
const string &  unit 
)
inline

Sets number of units to be added to the registration period of the Defensive Registration object

Parameters
timeamount of time
unitmeasure unit

References _period.

Referenced by cmd_def_reg_renew().

void DefRegRenewCmd::set_roid ( const string &  roid)
inline

Set defensive registration roid.

Parameters
roididentification of a defensive registration

References _roid.

Referenced by cmd_def_reg_renew().

Member Data Documentation

RegistrationPeriod DefRegRenewCmd::_period
protected

Number of units to be added to the registration period of the Defensive Registration object

Referenced by get_period(), reset(), and set_period().


The documentation for this class was generated from the following file: