public static class ProductManager.Entry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
accountId |
int |
activationModeId |
java.math.BigDecimal |
activationPrice |
java.util.Date |
activationTime |
java.lang.String |
deviceProductId |
short |
deviceState |
int |
productId |
java.util.Date |
productPeriodActivationTime |
int |
productPeriodFlags |
int |
productPeriodId |
java.util.Date |
productPeriodProlongationTime
если период пропорциональный, то в prolongationTime лежит время, с которого период начался бы, будь не пропорциональным
(например, в случае выровненных по отношению друг к другу периодов)
|
java.util.Date |
productPeriodTimeFrom |
java.util.Date |
productPeriodTimeTo |
ProductSpec |
productSpec |
int |
productSpecId |
java.util.Date |
productTimeFrom |
java.util.Date |
productTimeTo |
Constructor and Description |
---|
Entry(int accountId,
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,
java.lang.String deviceProductId,
short deviceState,
java.util.Date productPeriodProlongationTime) |
Modifier and Type | Method and Description |
---|---|
Product |
toProduct(int contractId,
int accountId) |
public final int accountId
public final int productPeriodId
public final java.util.Date productPeriodActivationTime
public final java.util.Date productPeriodTimeFrom
public final java.util.Date productPeriodTimeTo
public final java.util.Date productPeriodProlongationTime
public final int productPeriodFlags
public final int productId
public final int productSpecId
public final ProductSpec productSpec
public final int activationModeId
public final java.util.Date activationTime
public final java.math.BigDecimal activationPrice
public final java.util.Date productTimeFrom
public final java.util.Date productTimeTo
public final java.lang.String deviceProductId
public final short deviceState
public Entry(int accountId, 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, java.lang.String deviceProductId, short deviceState, java.util.Date productPeriodProlongationTime)
public Product toProduct(int contractId, int accountId)