|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TransactionDiscountReasonCode
is a simple data object to contain information
about POS discount reason code for a transaction.
A transaction discount reason code contains a numeric code, a text description, the rate (percentage) of the discount. It also includes tax plan exemption flags.
Field Summary | |
---|---|
static java.lang.String |
TAX_EXEMPTION
Identifier for Tax Exemption property name |
static java.lang.String |
TAX_PLAN1_EXEMPT
Identifier for Tax Plan1 exempt property name |
static java.lang.String |
TAX_PLAN2_EXEMPT
Identifier for Tax Plan2 exempt property name |
static java.lang.String |
TAX_PLAN3_EXEMPT
Identifier for Tax Plan3 exempt property name |
static java.lang.String |
TAX_PLAN4_EXEMPT
Identifier for Tax Plan4 exempt property name |
static java.lang.String |
TAX_PLAN5_EXEMPT
Identifier for Tax Plan5 exempt property name |
static java.lang.String |
TAX_PLAN6_EXEMPT
Identifier for Tax Plan6 exempt property name |
static java.lang.String |
TAX_PLAN7_EXEMPT
Identifier for Tax Plan7 exempt property name |
static java.lang.String |
TAX_PLAN8_EXEMPT
Identifier for Tax Plan8 exempt property name |
Fields inherited from interface com.ibm.retail.AEF.event.DiscountReasonCode |
---|
RATE |
Fields inherited from interface com.ibm.retail.AEF.event.ReasonCode |
---|
REASON_CODE, REASON_DESCRIPTION |
Method Summary | |
---|---|
boolean |
isTaxExemption()
Indicates if this discount is a tax exemption. |
boolean |
isTaxPlan1Exemption()
Is this discount a tax exemption to a tax plan1? |
boolean |
isTaxPlan2Exemption()
Is this discount a tax exemption to a tax plan2? |
boolean |
isTaxPlan3Exemption()
Is this discount a tax exemption to a tax plan3? |
boolean |
isTaxPlan4Exemption()
Is this discount a tax exemption to a tax plan4? |
boolean |
isTaxPlan5Exemption()
Is this discount a tax exemption to a tax plan5? |
boolean |
isTaxPlan6Exemption()
Is this discount a tax exemption to a tax plan6? |
boolean |
isTaxPlan7Exemption()
Is this discount a tax exemption to a tax plan7? |
boolean |
isTaxPlan8Exemption()
Is this discount a tax exemption to a tax plan8? |
Methods inherited from interface com.ibm.retail.AEF.event.DiscountReasonCode |
---|
getRate |
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 |
public static final java.lang.String TAX_EXEMPTION
public static final java.lang.String TAX_PLAN1_EXEMPT
public static final java.lang.String TAX_PLAN2_EXEMPT
public static final java.lang.String TAX_PLAN3_EXEMPT
public static final java.lang.String TAX_PLAN4_EXEMPT
public static final java.lang.String TAX_PLAN5_EXEMPT
public static final java.lang.String TAX_PLAN6_EXEMPT
public static final java.lang.String TAX_PLAN7_EXEMPT
public static final java.lang.String TAX_PLAN8_EXEMPT
Method Detail |
public boolean isTaxExemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan1Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan2Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan3Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan4Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan5Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan6Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan7Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
public boolean isTaxPlan8Exemption() throws AEFException
AEFException
- Among the possible AEFException error codes are:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |