com.ibm.retail.AEF.event
Interface DiscountReasonCode

All Superinterfaces:
POSAppEventElement, ReasonCode, SAXElementHandler, java.io.Serializable
All Known Subinterfaces:
TransactionDiscountReasonCode

public interface DiscountReasonCode
extends ReasonCode

A DiscountReasonCode is a simple data object to contain information about a POS discount reason code.

A discount reason code contains a numeric code, a text description, and the rate (percentage) of the discount.


Field Summary
static java.lang.String RATE
          Identifier for the reason code rate
 
Fields inherited from interface com.ibm.retail.AEF.event.ReasonCode
REASON_CODE, REASON_DESCRIPTION
 
Method Summary
 java.lang.String getRate()
          Get the rate value (percent-off).
 
Methods inherited from interface com.ibm.retail.AEF.event.ReasonCode
getCode, getDescription
 
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

RATE

public static final java.lang.String RATE
Identifier for the reason code rate

See Also:
Constant Field Values
Method Detail

getRate

public java.lang.String getRate()
Get the rate value (percent-off).

Returns:
string representation of the rate (e.g. "25.0")


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