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

EPP DomainRenewCmd Class. More...

#include <DomainRenewCmd.H>

Inheritance diagram for DomainRenewCmd:
Command

Public Member Functions

 DomainRenewCmd (bool reset=true)
 Default constructor.
 
void set_name (const string &name)
 Sets domain name. More...
 
string get_name () const
 Returns domain name. More...
 
void set_curExpDate (const string &curExpDate)
 
string get_curExpDate () const
 Returns date of the next renewal. More...
 
void set_period (const int time, const string &unit)
 Sets domain renewal period. More...
 
void set_period (const RegistrationPeriod &period)
 Sets domain registration period. More...
 
RegistrationPeriod get_period () const
 Returns domain registration period. More...
 
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 _name
 Fully qualified domain name.
 
string _curExpDate
 Date of the next renewal.
 
RegistrationPeriod _period
 Renewal period of the domain object.
 
- Protected Attributes inherited from Command
string _clTRID
 Client Transaction ID.
 

Detailed Description

EPP DomainRenewCmd Class.

Member Function Documentation

string DomainRenewCmd::get_curExpDate ( ) const
inline

Returns date of the next renewal.

Returns
date of the renewal

References _curExpDate.

Referenced by cmd_domain_renew().

string DomainRenewCmd::get_name ( ) const
inline

Returns domain name.

Returns
fully qualified domain name

References _name.

Referenced by cmd_domain_renew().

RegistrationPeriod DomainRenewCmd::get_period ( ) const
inline

Returns domain registration period.

Returns
domain registration period

References _period.

Referenced by cmd_domain_renew().

void DomainRenewCmd::set_curExpDate ( const string &  curExpDate)
inline
Parameters
curExpDatedate of the renewal

References _curExpDate.

Referenced by cmd_domain_renew().

void DomainRenewCmd::set_name ( const string &  name)
inline

Sets domain name.

Parameters
namefully qualified domain name

References _name.

Referenced by cmd_domain_renew().

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

Sets domain renewal period.

Parameters
timeamount of time
unitmeasure unit

References _period.

Referenced by cmd_domain_renew().

void DomainRenewCmd::set_period ( const RegistrationPeriod period)
inline

Sets domain registration period.

Parameters
periodstructure with time and measure unit

References _period.


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