cz.active24.client.fred.data.common.other.ZoneCredit 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.common.other;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* The credit information of a single zone.
*
*
* - {@link ZoneCredit#zone} – the zone FQDN
* - {@link ZoneCredit#credit} – the amount of credit in this zone
*
*
* @see FRED documentation
*/
public class ZoneCredit implements Serializable {
private String zone;
private BigDecimal credit;
public ZoneCredit() {
}
public String getZone() {
return zone;
}
public void setZone(String zone) {
this.zone = zone;
}
public BigDecimal getCredit() {
return credit;
}
public void setCredit(BigDecimal credit) {
this.credit = credit;
}
@Override
public String toString() {
final StringBuffer sb = new StringBuffer("ZoneCredit{");
sb.append("zone='").append(zone).append('\'');
sb.append(", credit=").append(credit);
sb.append('}');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy