Class TariffOptionBeforeActivateEvent
java.lang.Object
ru.bitel.bgbilling.kernel.event.common.Event
ru.bitel.bgbilling.kernel.event.common.QueueEvent
ru.bitel.bgbilling.kernel.event.common.LocalEvent
ru.bitel.bgbilling.kernel.tariff.option.server.event.TariffOptionBeforeActivateEvent
- All Implemented Interfaces:
java.io.Serializable
,ErrorReturnableEvent
public class TariffOptionBeforeActivateEvent
extends ru.bitel.bgbilling.kernel.event.common.LocalEvent
Скриптовое событие перед активацией тарифной опции.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.kernel.event.common.Event
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
-
Constructor Summary
Constructors Constructor Description TariffOptionBeforeActivateEvent(int contractId, int userId, Contract contract, TariffOption tariffOption, TariffOptionActivateMode activateMode, Charge charge, ContractTariffOption contractOption, boolean activate)
-
Method Summary
Modifier and Type Method Description TariffOptionActivateMode
getActivateMode()
Charge
getCharge()
Contract
getContract()
ContractTariffOption
getContractTariffOption()
java.lang.String
getMessage()
TariffOption
getTariffOption()
boolean
isActivate()
void
setActivate(boolean activate)
void
setCharge(Charge charge)
void
setContractTariffOption(ContractTariffOption contractOption)
void
setMessage(java.lang.String message)
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.LocalEvent
getError, setError
Methods inherited from class ru.bitel.bgbilling.kernel.event.common.Event
getContractId, getDestination, getGenerateTime, getMessageID, getModuleId, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, setMessageID, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
TariffOptionBeforeActivateEvent
public TariffOptionBeforeActivateEvent(int contractId, int userId, Contract contract, TariffOption tariffOption, TariffOptionActivateMode activateMode, Charge charge, ContractTariffOption contractOption, boolean activate)
-
-
Method Details
-
getTariffOption
-
getActivateMode
-
isActivate
public boolean isActivate() -
setActivate
public void setActivate(boolean activate) -
getMessage
public java.lang.String getMessage() -
setMessage
public void setMessage(java.lang.String message) -
getCharge
-
setCharge
-
getContractTariffOption
-
setContractTariffOption
-
getContract
-