ru.bitel.bgbilling.modules.tv.api.server

## Class ProductManager.Entry

- java.lang.Object
- - ru.bitel.bgbilling.modules.tv.api.server.ProductManager.Entry

- Enclosing class:
    ProductManager

      public static class ProductManager.Entry
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `activationModeId`
    `java.math.BigDecimal` | `activationPrice`
    `java.util.Date` | `activationTime`
    `short` | `deviceState`
    `int` | `productId`
    `java.util.Date` | `productPeriodActivationTime`
    `int` | `productPeriodFlags`
    `int` | `productPeriodId`
    `java.util.Date` | `productPeriodTimeFrom`
    `java.util.Date` | `productPeriodTimeTo`
    `ProductSpec` | `productSpec`
    `int` | `productSpecId`
    `java.util.Date` | `productTimeFrom`
    `java.util.Date` | `productTimeTo`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Entry(int productPeriodId, java.util.Date productPeriodActivationTime, java.util.Date productPeriodTimeFrom, java.util.Date productPeriodTimeTo, int productPeriodFlags, int productId, int productSpecId, ProductSpec productSpec, int activationModeId, java.util.Date activationTime, java.math.BigDecimal activationPrice, java.util.Date productTimeFrom, java.util.Date productTimeTo, short deviceState)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Product` | `toProduct(int contractId, int accountId)`

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

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

- - ### Field Detail

    - #### productPeriodId

          public final int productPeriodId

    - #### productPeriodActivationTime

          public final java.util.Date productPeriodActivationTime

    - #### productPeriodTimeFrom

          public final java.util.Date productPeriodTimeFrom

    - #### productPeriodTimeTo

          public final java.util.Date productPeriodTimeTo

    - #### productPeriodFlags

          public final int productPeriodFlags

    - #### productId

          public final int productId

    - #### productSpecId

          public final int productSpecId

    - #### productSpec

          public final ProductSpec productSpec

    - #### activationModeId

          public final int activationModeId

    - #### activationTime

          public final java.util.Date activationTime

    - #### activationPrice

          public final java.math.BigDecimal activationPrice

    - #### productTimeFrom

          public final java.util.Date productTimeFrom

    - #### productTimeTo

          public final java.util.Date productTimeTo

    - #### deviceState

          public final short deviceState

  - ### Constructor Detail

    - #### Entry

          public Entry(int productPeriodId,
                       java.util.Date productPeriodActivationTime,
                       java.util.Date productPeriodTimeFrom,
                       java.util.Date productPeriodTimeTo,
                       int productPeriodFlags,
                       int productId,
                       int productSpecId,
                       ProductSpec productSpec,
                       int activationModeId,
                       java.util.Date activationTime,
                       java.math.BigDecimal activationPrice,
                       java.util.Date productTimeFrom,
                       java.util.Date productTimeTo,
                       short deviceState)

  - ### Method Detail

    - #### toProduct

          public Product toProduct(int contractId,
                                   int accountId)