com.ibm.retail.AEF.automation
Interface PointsInfo

All Superinterfaces:
BaseInfo, LineItemInfo, java.io.Serializable

public interface PointsInfo
extends LineItemInfo

PointsInfo is an interface which encapsulates the item information for an item which is sold in a transaction.


Field Summary
static java.lang.String CLASS_KEY
           
 
Method Summary
 java.util.Collection getAdditionalPointsTotals()
          Get any additional points represented by the event.
 java.lang.String getPoints()
          Get the number of points represented by the event.
 java.lang.String getType()
          Get the type of points.
 boolean isAwarded()
          Indicates if the points are awarded.
 boolean isRedeemed()
          Indicates if the points are redeemed.
 void setAdditionalPointsTotals(java.util.Collection points)
          Set any additional points represented by the event.
 void setAwarded(boolean awarded)
          Determines if the points are awarded.
 void setPoints(java.lang.String points)
          Sets the number of points represented by the object.
 void setRedeemed(boolean redeemed)
          Determines if the points are redeemed.
 void setType(java.lang.String type)
          Sets the type of points.
 
Methods inherited from interface com.ibm.retail.AEF.automation.LineItemInfo
addRawReceiptLine, addReceiptLine, getDescription, getRawReceiptLines, getReceiptLines, getTransaction, isDeposit, isRefunded, isVoided, setDeposit, setDescription, setRawReceiptLines, setReceiptLines, setRefunded, setTransaction, setVoided
 
Methods inherited from interface com.ibm.retail.AEF.automation.BaseInfo
getBooleanPropertyValue, getIntegerPropertyValue, getProperty, getPropertyEntries, setProperty, update
 

Field Detail

CLASS_KEY

public static final java.lang.String CLASS_KEY
See Also:
Constant Field Values
Method Detail

getType

public java.lang.String getType()
Get the type of points. For example, a enterprise may have "primary" points and secondary points such as "baby club" or "senior club".

Returns:
String

setType

public void setType(java.lang.String type)
Sets the type of points. For example, a enterprise may have "primary" points and secondary points such as "baby club" or "senior club".


isRedeemed

public boolean isRedeemed()
Indicates if the points are redeemed. If not redeemed, then they are awarded.

Returns:
boolean

setRedeemed

public void setRedeemed(boolean redeemed)
Determines if the points are redeemed. If not redeemed, then they are awarded.


isAwarded

public boolean isAwarded()
Indicates if the points are awarded. If not awarded, then they are redeemed.

Returns:
boolean

setAwarded

public void setAwarded(boolean awarded)
Determines if the points are awarded. If not awarded, then they are redeemed.


getPoints

public java.lang.String getPoints()
Get the number of points represented by the event.

Returns:
String

setPoints

public void setPoints(java.lang.String points)
Sets the number of points represented by the object.


getAdditionalPointsTotals

public java.util.Collection getAdditionalPointsTotals()
Get any additional points represented by the event. Addtional points may apply to clubs.

Returns:
Collection of PointsTotal objects

setAdditionalPointsTotals

public void setAdditionalPointsTotals(java.util.Collection points)
Set any additional points represented by the event. Addtional points may apply to clubs.



Copyright © 2004 IBM. All Rights Reserved.
Generated: July 19 2004