public class RewardPoint extends java.lang.Object implements RewardPointIf
| Constructor and Description |
|---|
RewardPoint()
Constructor
|
RewardPoint(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Reward Points object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
A code used to define the type of transaction in which the points were added or removed.
|
int |
getCustomerId()
The numeric id of the customer that the points belong to.
|
java.util.Calendar |
getDateAdded()
The date added
|
java.lang.String |
getDescription()
A description that can be viewed in a points statement.
|
int |
getId()
The numeric id of the Reward Points Object
|
int |
getInitialPoints()
The initial number of points when they were awarded
|
int |
getRemainingPoints()
The number of points remaining, since some may have been used.
|
java.lang.String |
getStoreId()
The store id
|
int |
getTransactionType()
The type of transaction which indicates whether the points have been added or removed.
|
boolean |
isExpired()
Indicates whether the points have expired
|
void |
setCode(java.lang.String code)
A code used to define the type of transaction in which the points were added or removed.
|
void |
setCustomerId(int customerId)
The numeric id of the customer that the points belong to.
|
void |
setDateAdded(java.util.Calendar dateAdded)
The date added
|
void |
setDescription(java.lang.String description)
A description that can be viewed in a points statement.
|
void |
setExpired(boolean expired)
Indicates whether the points have expired
|
void |
setId(int id)
The numeric id of the Reward Points Object
|
void |
setInitialPoints(int initialPoints)
The initial number of points when they were awarded
|
void |
setRemainingPoints(int remainingPoints)
The number of points remaining, since some may have been used.
|
void |
setStoreId(java.lang.String storeId)
The store id
|
void |
setTransactionType(int transactionType)
The type of transaction which indicates whether the points have been added or removed.
|
java.lang.String |
toString() |
public RewardPoint()
public RewardPoint(com.workingdogs.village.Record vr,
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.Objectpublic int getId()
RewardPointIfgetId in interface RewardPointIfpublic void setId(int id)
RewardPointIfsetId in interface RewardPointIfid - the id to setpublic java.lang.String getStoreId()
RewardPointIfgetStoreId in interface RewardPointIfpublic void setStoreId(java.lang.String storeId)
RewardPointIfsetStoreId in interface RewardPointIfstoreId - the storeId to setpublic java.lang.String getCode()
RewardPointIfgetCode in interface RewardPointIfpublic void setCode(java.lang.String code)
RewardPointIfsetCode in interface RewardPointIfcode - the code to setpublic java.lang.String getDescription()
RewardPointIfgetDescription in interface RewardPointIfpublic void setDescription(java.lang.String description)
RewardPointIfsetDescription in interface RewardPointIfdescription - the description to setpublic int getCustomerId()
RewardPointIfgetCustomerId in interface RewardPointIfpublic void setCustomerId(int customerId)
RewardPointIfsetCustomerId in interface RewardPointIfcustomerId - the customerId to setpublic int getInitialPoints()
RewardPointIfgetInitialPoints in interface RewardPointIfpublic void setInitialPoints(int initialPoints)
RewardPointIfsetInitialPoints in interface RewardPointIfinitialPoints - the initialPoints to setpublic int getRemainingPoints()
RewardPointIfgetRemainingPoints in interface RewardPointIfpublic void setRemainingPoints(int remainingPoints)
RewardPointIfsetRemainingPoints in interface RewardPointIfremainingPoints - the remainingPoints to setpublic boolean isExpired()
RewardPointIfisExpired in interface RewardPointIfpublic void setExpired(boolean expired)
RewardPointIfsetExpired in interface RewardPointIfexpired - the expired to setpublic int getTransactionType()
RewardPointIfgetTransactionType in interface RewardPointIfpublic void setTransactionType(int transactionType)
RewardPointIfsetTransactionType in interface RewardPointIftransactionType - the transactionType to setpublic java.util.Calendar getDateAdded()
RewardPointIfgetDateAdded in interface RewardPointIfpublic void setDateAdded(java.util.Calendar dateAdded)
RewardPointIfsetDateAdded in interface RewardPointIfdateAdded - the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.