|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An ItemSalesEvent
is generated when an item is
added or removed from a transaction. The ItemSalesEvent
object contains
details about the item sale.
Field Summary | |
---|---|
static java.lang.String |
ITEM_SOLD
item sold action identifier |
Method Summary | |
---|---|
boolean |
enteredPriceUsed()
Indicates if the item price was overridden, or the item was price required. |
int |
getAgeRestriction()
Returns the age restriction in years for an age restricted item. |
java.lang.String |
getDealPrice()
Returns the deal price. |
int |
getDealQuantity()
Returns the item deal quantity. |
java.lang.String |
getExtendedPrice()
Returns the extended price. |
java.lang.String |
getItemID()
Returns the item code used to sell the item (e.g., the UPC number) |
java.lang.String |
getItemIDQualifier()
Returns the item code qualifier. |
java.lang.String |
getLinkedItemID()
Get the linked item code (if any). |
java.lang.String |
getLinkedItemIDQualifier()
Get the linked item code qualifier. |
java.lang.String |
getMultiPricingGroup()
Returns the multi pricing group used for deal pricing. |
java.lang.String |
getPricingMethod()
Gets the pricing method for this item. |
int |
getQuantity()
Returns the quantity sold. |
java.lang.String |
getReducedPrice()
Returns the reduced price used for deal pricing. |
java.lang.String |
getRegularPrice()
Returns the regular (non-discounted) price (without currency symbol). |
java.util.Collection |
getRestrictedPeriods()
Returns a list of restricted/unrestricted time periods for the item. |
java.lang.String |
getReturnReason()
Returns the return reason (for a returned item only.) |
java.lang.String |
getUnitPrice()
Returns the item unit price (without currency symbol). |
java.lang.String |
getWeight()
Returns the item sale weight for an item sold by weight (e.g., produce). |
boolean |
isFoodstampEligible()
Indicates whether the item is foodstamp eligible. |
boolean |
isItemRepeatAllowed()
Indicates whether item repeat is allowed for this item. |
boolean |
isReturn()
Indicates whether the item is a return |
boolean |
isTaxable()
Indicates whether the item is taxable. |
boolean |
isTimeRestricted()
Indicates whether the item is time restricted. |
boolean |
isWICEligible()
Indicates whether the item is WIC eligible. |
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 |
Field Detail |
public static final java.lang.String ITEM_SOLD
Method Detail |
public java.lang.String getItemID()
public java.lang.String getItemIDQualifier()
public java.lang.String getUnitPrice()
public java.lang.String getRegularPrice()
public java.lang.String getReturnReason()
public int getQuantity() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public int getDealQuantity() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public java.lang.String getWeight()
public java.lang.String getExtendedPrice()
public boolean enteredPriceUsed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public java.lang.String getDealPrice()
public java.lang.String getReducedPrice()
public java.lang.String getMultiPricingGroup()
public int getAgeRestriction() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTimeRestricted()
public boolean isFoodstampEligible() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isWICEligible() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isItemRepeatAllowed() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxable() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isReturn() throws AEFException
AEFException
- if the property is undefined by the event
public java.lang.String getPricingMethod()
public java.lang.String getLinkedItemID()
public java.lang.String getLinkedItemIDQualifier()
public java.util.Collection getRestrictedPeriods()
Collection
of TimeInterval
objects or an empty collection.TimeInterval
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |