All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cz.active24.client.fred.data.create.contact.ContactCreateResponse Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.data.create.contact;

import cz.active24.client.fred.data.EppResponse;
import cz.active24.client.fred.data.create.CreateResponse;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;

import java.io.Serializable;
import java.util.Date;

/**
 * Response for contact create command.
 *
 * 
    *
  • {@link ContactCreateResponse#id} - the contact handle
  • *
  • {@link ContactCreateResponse#crDate} - the timestamp of creation
  • *
* * * @see FRED documentation */ public class ContactCreateResponse extends EppResponse implements Serializable, CreateResponse { private String id; private Date crDate; public ContactCreateResponse() { setServerObjectType(ServerObjectType.CONTACT); } public String getId() { return id; } public void setId(String id) { this.id = id; } public Date getCrDate() { return crDate; } public void setCrDate(Date crDate) { this.crDate = crDate; } @Override public String toString() { final StringBuffer sb = new StringBuffer("ContactCreateResponse{"); sb.append("id='").append(id).append('\''); sb.append(", crDate=").append(crDate); sb.append(", clientTransactionId='").append(getClientTransactionId()).append('\''); sb.append(", serverTransactionId='").append(getServerTransactionId()).append('\''); sb.append(", result=").append(getResult()); sb.append(", serverObjectType=").append(getServerObjectType()); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy