ru.bitel.oss.systems.inventory.subscription.common.event

## Class BeforeSubscribeEvent

- java.lang.Object
- - ru.bitel.bgbilling.kernel.event.Event
  - - ru.bitel.bgbilling.kernel.event.QueueEvent
    - - ru.bitel.bgbilling.kernel.event.LocalEvent
      - - ru.bitel.oss.systems.inventory.subscription.common.event.BeforeSubscribeEvent

- All Implemented Interfaces:
    java.io.Serializable

      public class BeforeSubscribeEvent
      extends LocalEvent

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class ru.bitel.bgbilling.kernel.event.Event

      `CONTRACT_GLOBAL, NO_MODULE, NO_PLUGIN`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BeforeSubscribeEvent(int contractId, int userId, Contract contract, SubscriptionType tariffOption, SubscriptionMode activateMode, Charge charge, Subscription contractOption, boolean activate)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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)`

    - ### Methods inherited from class ru.bitel.bgbilling.kernel.event.Event

      `getContractId, getContractID, getDestination, getGenerateTime, getModuleId, getModuleID, getPluginId, getSuperContractId, getTime, getTimestamp, getTypeId, getUserId, isLogFunctionProcess, prepareMessage, serializeAsObject, setLogFunctionProcess, toString, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BeforeSubscribeEvent

          public BeforeSubscribeEvent(int contractId,
                                      int userId,
                                      Contract contract,
                                      SubscriptionType tariffOption,
                                      SubscriptionMode activateMode,
                                      Charge charge,
                                      Subscription contractOption,
                                      boolean activate)

  - ### Method Detail

    - #### getTariffOption

          public SubscriptionType getTariffOption()

    - #### getActivateMode

          public SubscriptionMode 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)

    - #### getContractTariffOption

          public Subscription getContractTariffOption()

    - #### setContractTariffOption

          public void setContractTariffOption(Subscription contractOption)

    - #### getContract

          public Contract getContract()