cz.active24.client.fred.data.creditinfo.other.CreditInfoResponse 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.creditinfo.other;
import cz.active24.client.fred.data.EppResponse;
import cz.active24.client.fred.data.common.other.ZoneCredit;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;
import java.io.Serializable;
import java.util.List;
/**
* A credit info command is used to find out about the current credit amounts of the authenticated registrar in all zones for which the registrar is accredited.
*
*
* - {@link CreditInfoResponse#zoneCredit} - the credit information of a single zone, see {@link ZoneCredit}
*
*
* @see FRED documentation
*/
public class CreditInfoResponse extends EppResponse implements Serializable {
private List zoneCredit;
public CreditInfoResponse() {
setServerObjectType(ServerObjectType.OTHER);
}
public List getZoneCredit() {
return zoneCredit;
}
public void setZoneCredit(List zoneCredit) {
this.zoneCredit = zoneCredit;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("CreditInfoResponse{");
sb.append("zoneCredit=").append(zoneCredit);
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