Package ru.bitel.bgbilling.kernel.contract.autopayment.common.bean

# Class Autopayment.Builder

java.lang.Object
ru.bitel.bgbilling.kernel.contract.autopayment.common.bean.Autopayment.Builder

Enclosing class:
  Autopayment

public static class Autopayment.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Autopayment`
  `build()`
  `Autopayment.Builder`
  `setAccessToken(String accessToken)`
  `Autopayment.Builder`
  `setContractId(int contractId)`
  `Autopayment.Builder`
  `setData(String data)`
  `Autopayment.Builder`
  `setId(int id)`
  `Autopayment.Builder`
  `setMode(AutopaymentMode mode)`
  `Autopayment.Builder`
  `setModeData(String modeData)`
  `Autopayment.Builder`
  `setPeriod(PeriodWithTime period)`
  `Autopayment.Builder`
  `setSum(BigDecimal sum)`

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

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

- ## Method Details

  - ### setId

    public Autopayment.Builder setId(int id)

  - ### setAccessToken

    public Autopayment.Builder setAccessToken(String accessToken)

  - ### setContractId

    public Autopayment.Builder setContractId(int contractId)

  - ### setData

    public Autopayment.Builder setData(String data)

  - ### setMode

    public Autopayment.Builder setMode(AutopaymentMode mode)

  - ### setModeData

    public Autopayment.Builder setModeData(String modeData)

  - ### setPeriod

    public Autopayment.Builder setPeriod(PeriodWithTime period)

  - ### setSum

    public Autopayment.Builder setSum(BigDecimal sum)

  - ### build

    public Autopayment build()