|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DiscountEvent
is generated by a POS transaction when a discount is
applied to the transaction or an item.
The DiscountEvent
object contains details about the discount including
the amount and type of the discount.
Method Summary | |
---|---|
java.lang.String |
getAmount()
Returns the discount amount. |
java.lang.String |
getAppliesTo()
Returns indication of what line item this discount is applied to. |
java.lang.String |
getDiscountMethod()
Returns the discount method. |
java.lang.String |
getDiscountRate()
Returns the discount rate (percentage off). |
java.lang.String |
getDiscountReason()
Returns the reason for the discount (may be application specific). |
java.lang.String |
getDiscountType()
Returns the type of discount (may be application specific). |
boolean |
isTransactionDiscount()
Indicates if this is a transaction or line item discount. |
boolean |
isVoided()
Indicates if this is discount was voided. |
boolean |
reducesTaxBalanceDue()
Indicates whether the discount reduces the tax balance due. |
Methods inherited from interface com.ibm.retail.AEF.event.LineItemEvent |
---|
getDescription, getItemModifier, getPrintLines, getRawPrintLines, isDeposit, isRefunded |
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 getAppliesTo()
public java.lang.String getDiscountMethod()
public java.lang.String getDiscountRate()
public java.lang.String getAmount()
public java.lang.String getDiscountType()
public java.lang.String getDiscountReason()
public boolean reducesTaxBalanceDue() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTransactionDiscount() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isVoided() throws AEFException
isVoided
in interface LineItemEvent
AEFException
- Among the possible AEFException error codes are:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |