Package ru.bitel.bgbilling.kernel.tariff.option.server.bean

# Class ContractTariffOptionList.OptionItem

java.lang.Object
ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
ru.bitel.bgbilling.kernel.tariff.option.server.bean.ContractTariffOptionList.OptionItem

Enclosing class:
  ContractTariffOptionList

public static final class ContractTariffOptionList.OptionItem extends ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem
`AbstractPeriodItemSet.PeriodItem.id` - это ID опции из справочника.
`contractOptionId` - ID активированной тарифной опции.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final Integer`
  `contractOptionId`
  ID активированной тарифной опции.

  ### Fields inherited from class ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem

  `id, timeFrom, timeTo`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OptionItem(int optionId, int contractOptionId, long timeFrom, long timeTo)`
  `OptionItem(int optionId, int contractOptionId, Date timeFrom, Date timeTo)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `toString()`

  ### Methods inherited from class ru.bitel.common.util.AbstractPeriodItemSet.PeriodItem

  `toString`

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

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

- ## Field Details

  - ### contractOptionId

    public final Integer contractOptionId
    ID активированной тарифной опции.

- ## Constructor Details

  - ### OptionItem

    public OptionItem(int optionId, int contractOptionId, Date timeFrom, Date timeTo)

  - ### OptionItem

    public OptionItem(int optionId, int contractOptionId, long timeFrom, long timeTo)

- ## Method Details

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`