Class CardActivateRequestEvent
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.modules.card.common.event.CardActivateRequestEvent
- All Implemented Interfaces:
Serializable
public class CardActivateRequestEvent
extends ru.bitel.bgbilling.kernel.event.common.QueueEvent
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
ModifierConstructorDescriptionprotected
CardActivateRequestEvent
(int moduleId, Set<Integer> services, long cardId, String cardNumber, int deviceId, int activateModuleId) -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
int
void
setStatus
(int status) static int
statusToAccessCode
(int status) Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSource, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, setSource, toString, toString
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Field Details
-
STATUS_ACTIVATION_SUCCEEDED
public static final int STATUS_ACTIVATION_SUCCEEDED- See Also:
-
STATUS_INVALID_ACCOUNT
public static final int STATUS_INVALID_ACCOUNT- See Also:
-
STATUS_INVALID_PIN
public static final int STATUS_INVALID_PIN- See Also:
-
STATUS_CARD_EXPIRED
public static final int STATUS_CARD_EXPIRED- See Also:
-
STATUS_CARD_LOCKED
public static final int STATUS_CARD_LOCKED- See Also:
-
STATUS_CARD_FOR_BALANCE
public static final int STATUS_CARD_FOR_BALANCE- See Also:
-
STATUS_CARD_DEVICE_DENY
public static final int STATUS_CARD_DEVICE_DENY- See Also:
-
STATUS_SERVER_ERROR
public static final int STATUS_SERVER_ERROR- See Also:
-
-
Constructor Details
-
CardActivateRequestEvent
protected CardActivateRequestEvent() -
CardActivateRequestEvent
-
-
Method Details
-
getActivateServiceIds
-
getCardId
public long getCardId() -
getCardNumber
-
getDeviceId
public int getDeviceId() -
getActivateModuleId
public int getActivateModuleId() -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
statusToAccessCode
public static int statusToAccessCode(int status)
-