|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A CouponEvent
is generated when a coupon is applied
to an item or transaction. A coupon may be applied
by scanning a manufacturer or store coupon, or it may
be applied automatically through a loyalty program.
Method Summary | |
---|---|
int |
getAgeRestriction()
Returns the age restriction in years for an age restricted item. |
java.lang.String |
getCouponType()
Returns the coupon type. |
java.lang.String |
getDealPrice()
Returns the deal price. |
int |
getDealQuantity()
Returns the item deal quantity. |
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 |
getManufacturerNumber()
Returns the manufacturer's number for the coupon. |
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.util.Collection |
getRestrictedPeriods()
Returns a list of restricted/unrestricted time periods for the item. |
java.lang.String |
getUnitPrice()
Returns the coupon unit price (without currency symbol). |
java.lang.String |
getValue()
Returns the extended value of the coupon. |
java.lang.String |
getWeight()
Returns the item sale weight for an item sold by weight (e.g., produce). |
boolean |
isItemRepeatAllowed()
Indicates whether item repeat is allowed for this item. |
boolean |
isTimeRestricted()
Indicates whether the item is time restricted. |
boolean |
isWICEligible()
Indicates whether the item is WIC eligible. |
boolean |
reducesFoodstampBalanceDue()
Indicates whether the coupon reduces the foodstamp balance due. |
boolean |
reducesTaxDue()
Indicates whether the coupon reduces the taxable transaction amount. |
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 getItemID()
public java.lang.String getItemIDQualifier()
public java.lang.String getCouponType()
public java.lang.String getUnitPrice()
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 getValue()
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 reducesFoodstampBalanceDue() 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 reducesTaxDue() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public java.lang.String getPricingMethod()
public java.util.Collection getRestrictedPeriods()
Collection
of TimeInterval
objects or an empty collection.TimeInterval
public java.lang.String getManufacturerNumber()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |