public class AdminRewardPoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
code
|
private int |
customerId
customerId
|
private java.util.Date |
dateAdded
dateAdded
|
private java.lang.String |
description
description
|
private boolean |
expired
expired
|
private int |
id
id
|
private int |
initialPoints
initialPoints
|
private int |
remainingPoints
remainingPoints
|
private java.lang.String |
storeId
storeId
|
private int |
transactionType
transactionType
|
Constructor and Description |
---|
AdminRewardPoint()
Constructor
|
AdminRewardPoint(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Reward Points object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode() |
int |
getCustomerId() |
java.util.Date |
getDateAdded() |
java.lang.String |
getDescription() |
int |
getId() |
int |
getInitialPoints() |
int |
getRemainingPoints() |
java.lang.String |
getStoreId() |
int |
getTransactionType() |
boolean |
isExpired() |
void |
setCode(java.lang.String code) |
void |
setCustomerId(int customerId) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setDescription(java.lang.String description) |
void |
setExpired(boolean expired) |
void |
setId(int id) |
void |
setInitialPoints(int initialPoints) |
void |
setRemainingPoints(int remainingPoints) |
void |
setStoreId(java.lang.String storeId) |
void |
setTransactionType(int transactionType) |
java.lang.String |
toString() |
private int id
private java.lang.String storeId
private java.lang.String code
private java.lang.String description
private int customerId
private int initialPoints
private int remainingPoints
private boolean expired
private int transactionType
private java.util.Date dateAdded
public AdminRewardPoint()
public AdminRewardPoint(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public void setId(int id)
id
- the id to setpublic java.lang.String getStoreId()
public void setStoreId(java.lang.String storeId)
storeId
- the storeId to setpublic java.lang.String getCode()
public void setCode(java.lang.String code)
code
- the code to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId
- the customerId to setpublic int getInitialPoints()
public void setInitialPoints(int initialPoints)
initialPoints
- the initialPoints to setpublic int getRemainingPoints()
public void setRemainingPoints(int remainingPoints)
remainingPoints
- the remainingPoints to setpublic boolean isExpired()
public void setExpired(boolean expired)
expired
- the expired to setpublic int getTransactionType()
public void setTransactionType(int transactionType)
transactionType
- the transactionType to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.