cz.active24.client.fred.data.transfer.nsset.NssetTransferRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fred-client Show documentation
Show all versions of fred-client Show documentation
A Java EPP client for FRED (Free Registry for ENUM and Domains)
package cz.active24.client.fred.data.transfer.nsset;
import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.data.transfer.TransferRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
/**
* A nsset transfer command is used to take over sponsorship of an nsset. A transfer password must be provided for authorization. It can be the transfer password of:
*
* - the nsset or
* - a technical contact of the nsset.
*
*
* - {@link NssetTransferRequest#nssetId} - the nsset handle
* - {@link NssetTransferRequest#authInfo} - the transfer password
*
*
* @see FRED documentation
*/
public class NssetTransferRequest extends EppRequest implements Serializable, TransferRequest {
private String nssetId;
private String authInfo;
public NssetTransferRequest(String nssetId, String authInfo) {
setServerObjectType(ServerObjectType.NSSET);
this.nssetId = nssetId;
this.authInfo = authInfo;
}
public String getNssetId() {
return nssetId;
}
protected void setNssetId(String nssetId) {
this.nssetId = nssetId;
}
public String getAuthInfo() {
return authInfo;
}
protected void setAuthInfo(String authInfo) {
this.authInfo = authInfo;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("NssetTransferRequest{");
sb.append("nssetId='").append(nssetId).append('\'');
sb.append(", authInfo='").append(authInfo).append('\'');
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy