@Entity
public class ArticleData
extends java.lang.Object
Constructor and Description |
---|
ArticleData() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArticleId() |
java.lang.Integer |
getId() |
long |
getPrice() |
void |
setArticleId(java.lang.String articleId) |
void |
setId(java.lang.Integer id) |
void |
setPrice(long price) |
java.lang.String |
toString() |
public java.lang.Integer getId()
public void setId(java.lang.Integer id)
id
- primary id in databasepublic java.lang.String getArticleId()
public void setArticleId(java.lang.String articleId)
articleId
- unique article id for a payment required resource.public long getPrice()
public void setPrice(long price)
price
- the price in satoshis for per unit.public java.lang.String toString()
toString
in class java.lang.Object