public class MegogoContractSubRequestLog extends Id
Modifier and Type | Field and Description |
---|---|
static java.lang.Integer |
MEGOGO_REQUEST_RESULT_ERROR
Отвергнут Megogo
|
static java.lang.Integer |
MEGOGO_REQUEST_RESULT_RUNTIME_ERROR
Отвергнут Megogo
|
static 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
Создание пользователя на стороне Megogo
|
static 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 and Description |
---|
MegogoContractSubRequestLog() |
MegogoContractSubRequestLog(int contractId,
int sid,
int type,
java.util.Date date,
int userId) |
Modifier and Type | Method and 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) |
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_SUBSCRIBE
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_UNSUBSCRIBE
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_SUSPEND
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_RESUME
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_CHANGE_CREDENTIALS
public static final java.lang.Integer MEGOGO_REQUEST_TYPE_CREATE_USER
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_SUCCESSFUL
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_ERROR
public static final java.lang.Integer MEGOGO_REQUEST_RESULT_RUNTIME_ERROR
public MegogoContractSubRequestLog()
public MegogoContractSubRequestLog(int contractId, int sid, int type, java.util.Date date, int userId)
contractId
- - код договораsid
- - код услуги/подпискиtype
- - тип запросаdate
- - время запросаuserId
- - код пользователяpublic java.lang.String getTypeText()
public java.lang.String getAnswerResultText()
public int getContractSubId()
public void setContractSubId(int contractSubId)
public int getContractId()
public void setContractId(int contractId)
public int getSid()
public void setSid(int sid)
public int getType()
public void setType(int type)
public java.util.Date getDate()
public void setDate(java.util.Date date)
public int getAnswerResult()
public void setAnswerResult(int answerResult)
public java.lang.String getErrorMessage()
public void setErrorMessage(java.lang.String errorMessage)
public int getUserId()
public void setUserId(int userId)