public class MegogoSubscriptionRequestedEvent extends QueueEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Constructor and Description |
---|
MegogoSubscriptionRequestedEvent() |
MegogoSubscriptionRequestedEvent(int moduleId,
int contractId,
int userId,
MegogoSubscription subscription,
int contractSubscriptionId,
int requestType) |
Modifier and Type | Method and Description |
---|---|
int |
getContractSubscriptionId()
Код подписки договора, может быть -1, если это новая подписка
|
int |
getRequestType()
MegogoContractSubRequestLog MegogoContractSubRequestLog.MEGOGO_REQUEST_TYPE_SUBSCRIBE = 1; MegogoContractSubRequestLog.MEGOGO_REQUEST_TYPE_UNSUBSCRIBE = 2; MegogoContractSubRequestLog.MEGOGO_REQUEST_TYPE_SUSPEND = 3; MegogoContractSubRequestLog.MEGOGO_REQUEST_TYPE_RESUME = 4; |
MegogoSubscription |
getSubscription() |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
public MegogoSubscriptionRequestedEvent()
public MegogoSubscriptionRequestedEvent(int moduleId, int contractId, int userId, MegogoSubscription subscription, int contractSubscriptionId, int requestType)
public MegogoSubscription getSubscription()
public int getContractSubscriptionId()
public int getRequestType()
MegogoContractSubRequestLog