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

# Class Subscription.Builder

java.lang.Object
ru.bitel.bgbilling.modules.subscription.common.bean.Subscription.Builder

Enclosing class:
  Subscription

public static class Subscription.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Subscription`
  `build()`
  `Subscription.Builder`
  `setAvtoCommit(boolean avtoCommit)`
  `Subscription.Builder`
  `setComment(String comment)`
  `Subscription.Builder`
  `setContractId(int contractId)`
  `Subscription.Builder`
  `setId(int value)`
  `Subscription.Builder`
  `setJobId(long jobId)`
  `Subscription.Builder`
  `setPeriod(PeriodWithTime period)`
  `Subscription.Builder`
  `setRegistrationPeriodId(int registrationPeriodId)`
  `Subscription.Builder`
  `setTypeId(int typeId)`

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

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

- ## Method Details

  - ### setId

    public Subscription.Builder setId(int value)

  - ### setContractId

    public Subscription.Builder setContractId(int contractId)

  - ### setTypeId

    public Subscription.Builder setTypeId(int typeId)

  - ### setPeriod

    public Subscription.Builder setPeriod(PeriodWithTime period)

  - ### setRegistrationPeriodId

    public Subscription.Builder setRegistrationPeriodId(int registrationPeriodId)

  - ### setAvtoCommit

    public Subscription.Builder setAvtoCommit(boolean avtoCommit)

  - ### setJobId

    public Subscription.Builder setJobId(long jobId)

  - ### setComment

    public Subscription.Builder setComment(String comment)

  - ### build

    public Subscription build()