public class TariffOptionBeforeActivateEvent extends LocalEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Constructor and Description |
---|
TariffOptionBeforeActivateEvent(int contractId,
int userId,
Contract contract,
TariffOption tariffOption,
TariffOptionActivateMode activateMode,
Charge charge,
ContractTariffOption contractOption,
boolean activate) |
Modifier and Type | Method and 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) |
getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString
public TariffOptionBeforeActivateEvent(int contractId, int userId, Contract contract, TariffOption tariffOption, TariffOptionActivateMode activateMode, Charge charge, ContractTariffOption contractOption, boolean activate)
public TariffOption getTariffOption()
public TariffOptionActivateMode getActivateMode()
public boolean isActivate()
public void setActivate(boolean activate)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public Charge getCharge()
public void setCharge(Charge charge)
public ContractTariffOption getContractTariffOption()
public void setContractTariffOption(ContractTariffOption contractOption)
public Contract getContract()