|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PointsEvent
is generated when loyalty points are awarded or redeemed in
a transaction.
A PointsEvent
may affect multiple points totals for a loyalty account.
Additional totals (e.g., for clubs) are contained in the Collection accessible
through the method getPointsTotals
.
Method Summary | |
---|---|
java.util.Collection |
getAdditionalPointsTotals()
Get any additional points totals for clubs or secondary accounts. |
java.lang.String |
getID()
Returns a unique identifier of the points reward. |
java.lang.String |
getIDQualifier()
Returns the points ID qualifier. |
java.lang.String |
getPoints()
Returns the total points for the primary account. |
int |
getQuantity()
Returns the points quantity as an integer value. |
java.lang.String |
getType()
Returns the type of points (e.g., "primary"). |
boolean |
isAwarded()
Indicates if the points are awarded. |
boolean |
isRedeemed()
Indicates if the points are redeemed. |
Methods inherited from interface com.ibm.retail.AEF.event.LineItemEvent |
---|
getDescription, getItemModifier, getPrintLines, getRawPrintLines, isDeposit, isRefunded, isVoided |
Methods inherited from interface com.ibm.retail.AEF.event.POSAppEvent |
---|
getEventType, getPropertyChangeCategory, getTerminalNumber, setEventType, setTerminalNumber |
Methods inherited from interface com.ibm.retail.AEF.event.POSAppEventElement |
---|
getBooleanPropertyValue, getData, getIntegerPropertyValue, getProperty, getPropertyEntries, setData, setProperty, toString |
Methods inherited from interface com.ibm.retail.AEF.xml.SAXElementHandler |
---|
endElement, startElement |
Method Detail |
public java.lang.String getType()
public java.lang.String getPoints()
public java.lang.String getID()
public java.lang.String getIDQualifier()
public int getQuantity() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public java.util.Collection getAdditionalPointsTotals()
Collection
of PointsTotal
objects (returns null if no totals)PointsTotal
public boolean isRedeemed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isAwarded() throws AEFException
AEFException
- Among the possible AEFException error codes are:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |