|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.RewardPoint
public class RewardPoint
A reward points object for use within KonaKart.
| Constructor Summary | |
|---|---|
RewardPoint()
Constructor |
|
RewardPoint(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
Instantiates the attributes of the Reward Points object from a Record object |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RewardPoint()
public RewardPoint(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getId()
RewardPointIf
getId in interface RewardPointIfpublic void setId(int id)
RewardPointIf
setId in interface RewardPointIfid - the id to setpublic java.lang.String getStoreId()
RewardPointIf
getStoreId in interface RewardPointIfpublic void setStoreId(java.lang.String storeId)
RewardPointIf
setStoreId in interface RewardPointIfstoreId - the storeId to setpublic java.lang.String getCode()
RewardPointIf
getCode in interface RewardPointIfpublic void setCode(java.lang.String code)
RewardPointIf
setCode in interface RewardPointIfcode - the code to setpublic java.lang.String getDescription()
RewardPointIf
getDescription in interface RewardPointIfpublic void setDescription(java.lang.String description)
RewardPointIf
setDescription in interface RewardPointIfdescription - the description to setpublic int getCustomerId()
RewardPointIf
getCustomerId in interface RewardPointIfpublic void setCustomerId(int customerId)
RewardPointIf
setCustomerId in interface RewardPointIfcustomerId - the customerId to setpublic int getInitialPoints()
RewardPointIf
getInitialPoints in interface RewardPointIfpublic void setInitialPoints(int initialPoints)
RewardPointIf
setInitialPoints in interface RewardPointIfinitialPoints - the initialPoints to setpublic int getRemainingPoints()
RewardPointIf
getRemainingPoints in interface RewardPointIfpublic void setRemainingPoints(int remainingPoints)
RewardPointIf
setRemainingPoints in interface RewardPointIfremainingPoints - the remainingPoints to setpublic boolean isExpired()
RewardPointIf
isExpired in interface RewardPointIfpublic void setExpired(boolean expired)
RewardPointIf
setExpired in interface RewardPointIfexpired - the expired to setpublic int getTransactionType()
RewardPointIf
getTransactionType in interface RewardPointIfpublic void setTransactionType(int transactionType)
RewardPointIf
setTransactionType in interface RewardPointIftransactionType - the transactionType to setpublic java.util.Calendar getDateAdded()
RewardPointIf
getDateAdded in interface RewardPointIfpublic void setDateAdded(java.util.Calendar dateAdded)
RewardPointIf
setDateAdded in interface RewardPointIfdateAdded - the dateAdded to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||