public class BeforeSubscribeEvent extends LocalEvent
CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN
Constructor and Description |
---|
BeforeSubscribeEvent(int contractId,
int userId,
Contract contract,
SubscriptionType tariffOption,
SubscriptionMode activateMode,
Charge charge,
Subscription contractOption,
boolean activate) |
Modifier and Type | Method and Description |
---|---|
SubscriptionMode |
getActivateMode() |
Contract |
getContract() |
Subscription |
getContractTariffOption() |
java.lang.String |
getMessage() |
SubscriptionType |
getTariffOption() |
boolean |
isActivate() |
void |
setActivate(boolean activate) |
void |
setContractTariffOption(Subscription 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 BeforeSubscribeEvent(int contractId, int userId, Contract contract, SubscriptionType tariffOption, SubscriptionMode activateMode, Charge charge, Subscription contractOption, boolean activate)
public SubscriptionType getTariffOption()
public SubscriptionMode getActivateMode()
public boolean isActivate()
public void setActivate(boolean activate)
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
public Subscription getContractTariffOption()
public void setContractTariffOption(Subscription contractOption)
public Contract getContract()