Class BonusPayment
java.lang.Object
ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
ru.bitel.common.model.Id
ru.bitel.bgbilling.plugins.bonus.common.bean.AbstractBonusBalanceBean
ru.bitel.bgbilling.plugins.bonus.common.bean.BonusPayment
- All Implemented Interfaces:
Serializable
,Idable
- See Also:
-
Field Summary
Fields inherited from class ru.bitel.bgbilling.plugins.bonus.common.bean.AbstractBonusBalanceBean
date, dateString, sum, typeId, typeTitle
-
Constructor Summary
ConstructorDescriptionBonusPayment
(int id, int typeId, String typeTitle, Date date, BigDecimal sum, Date dateFrom, Date dateTo) BonusPayment
(int id, int typeId, Date date, BigDecimal sum, Date dateFrom, Date dateTo) BonusPayment
(int id, int typeId, Date date, BigDecimal sum, Period period) BonusPayment
(int id, int typeId, Date date, BigDecimal sum, Period period, String comment) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setComment
(String comment) void
setDateFrom
(Date dateFrom) void
setDatePeriod
(String datePeriod) void
Methods inherited from class ru.bitel.bgbilling.plugins.bonus.common.bean.AbstractBonusBalanceBean
getDate, getDateString, getSum, getTypeId, getTypeTitle, setDate, setDateString, setSum, setTypeId, setTypeTitle, toString
Methods inherited from class ru.bitel.common.model.Id
copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId
Methods inherited from class ru.bitel.bgbilling.kernel.base.server.logger.BGLogger
getLogger, logError
-
Constructor Details
-
BonusPayment
public BonusPayment() -
BonusPayment
- Parameters:
id
- - ид( при добовление в базу = 0)typeId
- - ид типа платежаdate
- - дата платежаsum
- - суммаdateFrom
- - активна отdateTo
- - активна до
-
BonusPayment
-
BonusPayment
- Parameters:
id
- - ид( при добовление в базу = 0)typeId
- - ид типа платежаdate
- - дата платежаsum
- - суммаperiod
- - период активности бонусов данного платежа.
-
BonusPayment
public BonusPayment(int id, int typeId, String typeTitle, Date date, BigDecimal sum, Date dateFrom, Date dateTo)
-
-
Method Details
-
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getComment
-
setComment
-
getDatePeriod
-
setDatePeriod
-