Class MegogoContractSubRequestLog
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.modules.megogo.common.bean.MegogoContractSubRequestLog
- All Implemented Interfaces:
java.io.Serializable
,Idable
public class MegogoContractSubRequestLog extends Id
Лог запроса к Megogo.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Integer
MEGOGO_REQUEST_RESULT_ERROR
Отвергнут Megogostatic java.lang.Integer
MEGOGO_REQUEST_RESULT_RUNTIME_ERROR
Отвергнут Megogostatic java.lang.Integer
MEGOGO_REQUEST_RESULT_SUCCESSFUL
Успешный ответstatic java.lang.Integer
MEGOGO_REQUEST_TYPE_CHANGE_CREDENTIALS
Установка логина и пароляstatic java.lang.Integer
MEGOGO_REQUEST_TYPE_CREATE_USER
Создание пользователя на стороне Megogostatic java.lang.Integer
MEGOGO_REQUEST_TYPE_RESUME
static java.lang.Integer
MEGOGO_REQUEST_TYPE_SUBSCRIBE
static java.lang.Integer
MEGOGO_REQUEST_TYPE_SUSPEND
static java.lang.Integer
MEGOGO_REQUEST_TYPE_UNSUBSCRIBE
-
Constructor Summary
Constructors Constructor Description MegogoContractSubRequestLog()
MegogoContractSubRequestLog(int contractId, int sid, int type, java.util.Date date, int userId)
-
Method Summary
Modifier and Type Method Description int
getAnswerResult()
java.lang.String
getAnswerResultText()
int
getContractId()
int
getContractSubId()
java.util.Date
getDate()
java.lang.String
getErrorMessage()
int
getSid()
int
getType()
java.lang.String
getTypeText()
int
getUserId()
void
setAnswerResult(int answerResult)
void
setContractId(int contractId)
void
setContractSubId(int contractSubId)
void
setDate(java.util.Date date)
void
setErrorMessage(java.lang.String errorMessage)
void
setSid(int sid)
void
setType(int type)
void
setUserId(int userId)
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
MEGOGO_REQUEST_TYPE_SUBSCRIBE
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_SUBSCRIBE -
MEGOGO_REQUEST_TYPE_UNSUBSCRIBE
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_UNSUBSCRIBE -
MEGOGO_REQUEST_TYPE_SUSPEND
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_SUSPEND -
MEGOGO_REQUEST_TYPE_RESUME
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_RESUME -
MEGOGO_REQUEST_TYPE_CHANGE_CREDENTIALS
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_CHANGE_CREDENTIALSУстановка логина и пароля -
MEGOGO_REQUEST_TYPE_CREATE_USER
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_CREATE_USERСоздание пользователя на стороне Megogo -
MEGOGO_REQUEST_RESULT_SUCCESSFUL
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_SUCCESSFULУспешный ответ -
MEGOGO_REQUEST_RESULT_ERROR
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_ERRORОтвергнут Megogo -
MEGOGO_REQUEST_RESULT_RUNTIME_ERROR
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_RUNTIME_ERRORОтвергнут Megogo
-
-
Constructor Details
-
MegogoContractSubRequestLog
public MegogoContractSubRequestLog() -
MegogoContractSubRequestLog
public MegogoContractSubRequestLog(int contractId, int sid, int type, java.util.Date date, int userId)- Parameters:
contractId
- - код договораsid
- - код услуги/подпискиtype
- - тип запросаdate
- - время запросаuserId
- - код пользователя
-
-
Method Details
-
getTypeText
public java.lang.String getTypeText() -
getAnswerResultText
public java.lang.String getAnswerResultText() -
getContractSubId
public int getContractSubId() -
setContractSubId
public void setContractSubId(int contractSubId) -
getContractId
public int getContractId() -
setContractId
public void setContractId(int contractId) -
getSid
public int getSid() -
setSid
public void setSid(int sid) -
getType
public int getType() -
setType
public void setType(int type) -
getDate
public java.util.Date getDate() -
setDate
public void setDate(java.util.Date date) -
getAnswerResult
public int getAnswerResult() -
setAnswerResult
public void setAnswerResult(int answerResult) -
getErrorMessage
public java.lang.String getErrorMessage() -
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage) -
getUserId
public int getUserId() -
setUserId
public void setUserId(int userId)
-