DRDE/ACTK1_0/OTE/OteDomainTransferRegistrant...

45 lines
1.4 KiB
C++
Raw Normal View History

2014-01-15 21:41:16 +00:00
#ifndef __OTE_DOMAIN_TRANSFER_REGISTRANT_RESPONSE
#define __OTE_DOMAIN_TRANSFER_REGISTRANT_RESPONSE
2014-01-15 18:29:15 +00:00
#include "common/Deprecated.hpp"
#include "se/DataResponse.hpp"
#include "se/XMLGregorianCalendar.hpp"
/**
* Use this to access create data for a domain as provided in an EPP domain
* create response compliant with RFCs 3730 and 3731. Such a service element
* is sent by a compliant EPP server in response to a valid domain create
* command, implemented by the DomainCreateCommand.
*
* @see DomainCreateCommand
* @deprecated Performing a registrant transfer with AE eligibility extensions
* should now be managed through the use of the
* @c DomainRegistrantTransferCommand and
* @c DomainRegistrantTransferResponse
*
* See
* {@link DomainRegistrantTransferCommand}
* and
* {@link DomainRegistrantTransferResponse}.
*/
2014-01-15 21:41:16 +00:00
class OteDomainTransferRegistrantResponse : public DataResponse
2014-01-15 18:29:15 +00:00
{
public:
2014-01-15 21:41:16 +00:00
DEPRECATED(OteDomainTransferRegistrantResponse());
2014-01-15 18:29:15 +00:00
const std::string& getName() { return name; }
const XMLGregorianCalendar* getExpiryDate() { return exDate.get(); }
void fromXML(XMLDocument* xmlDoc) throw (ParsingException);
private:
2014-01-15 21:41:16 +00:00
static const std::string OTEDOM_NAME_EXPR;
static const std::string OTEDOM_EX_DATE_EXPR;
2014-01-15 18:29:15 +00:00
std::string name;
std::auto_ptr<XMLGregorianCalendar> exDate;
};
2014-01-15 21:41:16 +00:00
#endif // __OTE_DOMAIN_TRANSFER_REGISTRANT_RESPONSE
2014-01-15 18:29:15 +00:00