com.Komunaldata.SmsGateway.Response
Class getSmsOutResponse
java.lang.Object
com.Komunaldata.SmsGateway.Response.getSmsOutResponse
public class getSmsOutResponse
- extends java.lang.Object
Return value for getSMSOutBy[DedicatedAccount/NonDedicatedAccount/User/Id] webservice.
Constructor Summary |
getSmsOutResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
SMSOut[] returnValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
returnValue
protected SMSOut[] returnValue
hasError
protected boolean hasError
errorString
protected java.lang.String errorString
userErrorString
protected java.lang.String userErrorString
getSmsOutResponse
public getSmsOutResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
SMSOut[] 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
- Array of outgoing SMS-es associated to the Account/User/Id stored in SMSIn[]
getReturnValue
public SMSOut[] getReturnValue()
- Gets the outgoing SMS-es associated to the Account/User/ID
- Returns:
getErrorString
public java.lang.String getErrorString()
getHasError
public boolean getHasError()
getUserErrorString
public java.lang.String getUserErrorString()