Class Purchase
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.bgbilling.modules.vod.common.bean.Purchase
- All Implemented Interfaces:
Serializable,Idable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintsetAssetId(String assetId) setAssetPrice(BigDecimal assetPrice) setAssetTitle(String assetTitle) setId(int id) Устанавливает id объектаsetProductId(String productId) setProductName(String productName) setProductType(String productType) setPurchaseDateTime(Date purchaseDateTime) setStatus(int status) setSubProductId(String subProductId) setSubscriberId(int subscriberId)
-
Field Details
-
STATUS_ACTIVE
public static final int STATUS_ACTIVE- See Also:
-
STATUS_PURCHASED
public static final int STATUS_PURCHASED- See Also:
-
STATUS_ROLLBACKED
public static final int STATUS_ROLLBACKED- See Also:
-
-
Constructor Details
-
Purchase
public Purchase()
-
-
Method Details
-
getStatus
public int getStatus() -
setId
Description copied from class:IdУстанавливает id объекта -
setStatus
-
getSubscriberId
public int getSubscriberId() -
setSubscriberId
-
getProductId
-
setProductId
-
getProductName
-
setProductName
-
getProductType
-
setProductType
-
getAssetId
-
setAssetId
-
getAssetTitle
-
setAssetTitle
-
getAssetPrice
-
setAssetPrice
-
getSubProductId
-
setSubProductId
-
getPurchaseDateTime
-
setPurchaseDateTime
-