Package ru.bitel.bgbilling.modules.subscription.common.bean

# Class SubscriptionType

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.bgbilling.modules.subscription.common.bean.SubscriptionType

All Implemented Interfaces:
  `Serializable`, `GuiTitlable`, `Idable`, `ListItem`

public class SubscriptionType extends IdTitle
Описание вида подписки. Возможно здесь привязка к услуге (или к услуге по умолчанию)

See Also:
  - Serialized Form

- ## Field Summary

  ### Fields inherited from class ru.bitel.common.model.IdTitle

  `NO_SELECT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SubscriptionType()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getComment()`
  `String`
  `getConfig()`
  `ValueUnit`
  `getDelay()`
  `ValueUnit`
  `getDuration()`
  `PeriodWithTime`
  `getNewRegistrationPeriod(Date initDate)`
  `Period`
  `getPeriod()`
  `ValueUnit`
  `getRound()`
  `int`
  `getServiceId()`
  `boolean`
  `isAvtoCommit()`
  `SubscriptionType`
  `setAvtoCommit(boolean avtoCommit)`
  `SubscriptionType`
  `setComment(String comment)`
  `SubscriptionType`
  `setConfig(String config)`
  `SubscriptionType`
  `setDelay(ValueUnit delay)`
  `SubscriptionType`
  `setDuration(ValueUnit duration)`
  `SubscriptionType`
  `setId(int id)`
  Устанавливает id объекта
  `SubscriptionType`
  `setPeriod(Period period)`
  `SubscriptionType`
  `setRound(ValueUnit round)`
  `SubscriptionType`
  `setServiceId(int serviceId)`
  `SubscriptionType`
  `setTitle(String title)`
  Устанавливает название (описание) объекта

  ### Methods inherited from class ru.bitel.common.model.IdTitle

  `copyTo, getGuiTitle, getTitle, setAsNoSelect, to, toIdTitle, toString`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap`

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

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

  ### Methods inherited from interface ru.bitel.common.model.ListItem

  `getId`

- ## Constructor Details

  - ### SubscriptionType

    public SubscriptionType()

- ## Method Details

  - ### getComment

    public String getComment()

  - ### getConfig

    public String getConfig()

  - ### getDelay

    public ValueUnit getDelay()

  - ### getDuration

    public ValueUnit getDuration()

  - ### getNewRegistrationPeriod

    public PeriodWithTime getNewRegistrationPeriod(Date initDate)

  - ### getPeriod

    public Period getPeriod()

  - ### getRound

    public ValueUnit getRound()

  - ### getServiceId

    public int getServiceId()

  - ### isAvtoCommit

    public boolean isAvtoCommit()

  - ### setAvtoCommit

    public SubscriptionType setAvtoCommit(boolean avtoCommit)

  - ### setComment

    public SubscriptionType setComment(String comment)

  - ### setConfig

    public SubscriptionType setConfig(String config)

  - ### setDelay

    public SubscriptionType setDelay(ValueUnit delay)

  - ### setDuration

    public SubscriptionType setDuration(ValueUnit duration)

  - ### setPeriod

    public SubscriptionType setPeriod(Period period)

  - ### setRound

    public SubscriptionType setRound(ValueUnit round)

  - ### setServiceId

    public SubscriptionType setServiceId(int serviceId)

  - ### setId

    public SubscriptionType setId(int id)
    Description copied from class: `Id`
    Устанавливает id объекта
    Overrides:
      `setId` in class `IdTitle`

  - ### setTitle

    public SubscriptionType setTitle(String title)
    Description copied from class: `IdTitle`
    Устанавливает название (описание) объекта
    Overrides:
      `setTitle` in class `IdTitle`