com.Komunaldata.SmsGateway.Response
Class getSmsLengthResponse
java.lang.Object
com.Komunaldata.SmsGateway.Response.getSmsLengthResponse
public class getSmsLengthResponse
- extends java.lang.Object
Return value for getSMSLength webservice.
Constructor Summary |
getSmsLengthResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
java.lang.Integer returnValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hasError
protected boolean hasError
errorString
protected java.lang.String errorString
userErrorString
protected java.lang.String userErrorString
getSmsLengthResponse
public getSmsLengthResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
java.lang.Integer returnValue)
- Parameters:
hasError
- True if webservice reports an error, false otherwise.errorString
- For storing all kind of errors, in case of excepted error the value is the same as userErrorString. Only null when hasError is false.userErrorString
- For storing excepted error, which can be displayed to user ("No Access", "Not enough credit", etc), else it is null.returnValue
- The number of SMS-es in which the SMS can be sent.
getReturnValue
public java.lang.Integer getReturnValue()
- Gets the number of SMS-es in which the SMS can be sent.
- Returns:
getErrorString
public java.lang.String getErrorString()
getHasError
public boolean getHasError()
getUserErrorString
public java.lang.String getUserErrorString()