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

cz.active24.client.fred.data.poll.other.LowCreditPollResponse Maven / Gradle / Ivy

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

import cz.active24.client.fred.data.common.other.ZoneCredit;
import cz.active24.client.fred.data.poll.PollResponse;
import cz.active24.client.fred.eppclient.objectstrategy.PollMessageType;

import java.io.Serializable;

/**
 * Event: Client’s credit has dropped below the stated limit.
 *
 * 
    *
  • {@link LowCreditPollResponse#zone} - FQDN of the zone in question
  • *
  • {@link LowCreditPollResponse#limit} - the stated limit, see {@link ZoneCredit}
  • *
  • {@link LowCreditPollResponse#credit} - amount of credit, see {@link ZoneCredit}
  • *
* * @see FRED documentation */ public class LowCreditPollResponse extends PollResponse implements Serializable { private String zone; private ZoneCredit limit; private ZoneCredit credit; public LowCreditPollResponse() { setPollMessageType(PollMessageType.LOW_CREDIT); } public String getZone() { return zone; } public void setZone(String zone) { this.zone = zone; } public ZoneCredit getLimit() { return limit; } public void setLimit(ZoneCredit limit) { this.limit = limit; } public ZoneCredit getCredit() { return credit; } public void setCredit(ZoneCredit credit) { this.credit = credit; } @Override public String toString() { final StringBuffer sb = new StringBuffer("LowCreditPollResponse{"); sb.append("zone='").append(zone).append('\''); sb.append(", limit=").append(limit); sb.append(", credit=").append(credit); sb.append(", messageId='").append(getMessageId()).append('\''); sb.append(", messageCount=").append(getMessageCount()); sb.append(", messageQDate=").append(getMessageQDate()); sb.append(", pollMessageType=").append(getPollMessageType()); 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