public class Purchase extends Id
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_ACTIVE |
static int |
STATUS_PURCHASED |
static int |
STATUS_ROLLBACKED |
Constructor and Description |
---|
Purchase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssetId() |
java.math.BigDecimal |
getAssetPrice() |
java.lang.String |
getAssetTitle() |
java.lang.String |
getProductId() |
java.lang.String |
getProductName() |
java.lang.String |
getProductType() |
java.util.Date |
getPurchaseDateTime() |
int |
getStatus() |
java.lang.String |
getSubProductId() |
int |
getSubscriberId() |
void |
setAssetId(java.lang.String assetId) |
void |
setAssetPrice(java.math.BigDecimal assetPrice) |
void |
setAssetTitle(java.lang.String assetTitle) |
void |
setProductId(java.lang.String productId) |
void |
setProductName(java.lang.String productName) |
void |
setProductType(java.lang.String productType) |
void |
setPurchaseDateTime(java.util.Date purchaseDateTime) |
void |
setStatus(int status) |
void |
setSubProductId(java.lang.String subProductId) |
void |
setSubscriberId(int subscriberId) |
public static final int STATUS_ACTIVE
public static final int STATUS_PURCHASED
public static final int STATUS_ROLLBACKED
public int getStatus()
public void setStatus(int status)
public int getSubscriberId()
public void setSubscriberId(int subscriberId)
public java.lang.String getProductId()
public void setProductId(java.lang.String productId)
public java.lang.String getProductName()
public void setProductName(java.lang.String productName)
public java.lang.String getProductType()
public void setProductType(java.lang.String productType)
public java.lang.String getAssetId()
public void setAssetId(java.lang.String assetId)
public java.lang.String getAssetTitle()
public void setAssetTitle(java.lang.String assetTitle)
public java.math.BigDecimal getAssetPrice()
public void setAssetPrice(java.math.BigDecimal assetPrice)
public java.lang.String getSubProductId()
public void setSubProductId(java.lang.String subProductId)
public java.util.Date getPurchaseDateTime()
public void setPurchaseDateTime(java.util.Date purchaseDateTime)