com.Komunaldata.SmsGateway.Response
Class getSmsInResponse
java.lang.Object
com.Komunaldata.SmsGateway.Response.getSmsInResponse
public class getSmsInResponse
- extends java.lang.Object
Return value for getSMSInBy[DedicatedAccount/NonDedicatedAccount/User/Id] webservice.
Constructor Summary |
getSmsInResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
SMSIn[] 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
getSmsInResponse
public getSmsInResponse(boolean hasError,
java.lang.String errorString,
java.lang.String userErrorString,
SMSIn[] 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 incoming SMS-es associated to the Account/User/Id stored in SMSIn[]
getReturnValue
public SMSIn[] getReturnValue()
- Gets the incoming 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()