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

cz.active24.client.fred.data.transfer.contact.ContactTransferRequest Maven / Gradle / Ivy

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

import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import cz.active24.client.fred.data.transfer.TransferRequest;

import java.io.Serializable;

/**
 * A contact transfer command is used to take over sponsorship of a contact. The transfer password of the contact must be provided for authorization.
 * 
    *
  • {@link ContactTransferRequest#contactId} - the contact handle
  • *
  • {@link ContactTransferRequest#authInfo} - the transfer password
  • *
* * @see FRED documentation */ public class ContactTransferRequest extends EppRequest implements Serializable, TransferRequest { private String contactId; private String authInfo; public ContactTransferRequest(String contactId, String authInfo) { setServerObjectType(ServerObjectType.CONTACT); this.contactId = contactId; this.authInfo = authInfo; } public String getContactId() { return contactId; } protected void setContactId(String contactId) { this.contactId = contactId; } public String getAuthInfo() { return authInfo; } protected void setAuthInfo(String authInfo) { this.authInfo = authInfo; } @Override public String toString() { final StringBuffer sb = new StringBuffer("ContactTransferRequest{"); sb.append("contactId='").append(contactId).append('\''); sb.append(", authInfo='").append(authInfo).append('\''); sb.append('}'); return sb.toString(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy