00001 /* ${copyright}$ */ 00002 /* $Id: IpNetworkRenewRsp.H 958 2008-12-11 14:36:22Z eduardo $ */ 00007 #ifndef __IPNETWORKRENEWRSP_H__ 00008 #define __IPNETWORKRENEWRSP_H__ 00009 00010 #include "libepp_nicbr.H" 00011 00012 #include "Response.H" 00013 00014 LIBEPP_NICBR_NS_BEGIN 00015 00017 class IpNetworkRenewRsp : public Response 00018 { 00019 public: 00021 IpNetworkRenewRsp(bool reset = true) : Response(false) 00022 { 00023 if (reset) { 00024 this->reset(); 00025 } 00026 } 00027 00029 00032 void set_roid(const string &roid) 00033 { 00034 _roid = roid; 00035 } 00036 00038 00041 string get_roid() const 00042 { 00043 return _roid; 00044 } 00045 00047 00051 void set_expDate(const string &expDate) 00052 { 00053 _expDate = expDate; 00054 } 00055 00057 00061 string get_expDate() const 00062 { 00063 return _expDate; 00064 } 00065 00066 void reset() 00067 { 00068 Response::reset(); 00069 _roid = ""; 00070 _expDate = ""; 00071 } 00072 00073 protected: 00075 string _roid; 00076 00079 string _expDate; 00080 }; 00081 00082 LIBEPP_NICBR_NS_END 00083 #endif // __IPNETWORKRENEWRSP_H__