com.ibm.retail.AEF.event
Interface TransactionDiscountReasonCode

All Superinterfaces:
DiscountReasonCode, POSAppEventElement, ReasonCode, SAXElementHandler, java.io.Serializable

public interface TransactionDiscountReasonCode
extends DiscountReasonCode

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

TAX_EXEMPTION

public static final java.lang.String TAX_EXEMPTION
Identifier for Tax Exemption property name

See Also:
Constant Field Values

TAX_PLAN1_EXEMPT

public static final java.lang.String TAX_PLAN1_EXEMPT
Identifier for Tax Plan1 exempt property name

See Also:
Constant Field Values

TAX_PLAN2_EXEMPT

public static final java.lang.String TAX_PLAN2_EXEMPT
Identifier for Tax Plan2 exempt property name

See Also:
Constant Field Values

TAX_PLAN3_EXEMPT

public static final java.lang.String TAX_PLAN3_EXEMPT
Identifier for Tax Plan3 exempt property name

See Also:
Constant Field Values

TAX_PLAN4_EXEMPT

public static final java.lang.String TAX_PLAN4_EXEMPT
Identifier for Tax Plan4 exempt property name

See Also:
Constant Field Values

TAX_PLAN5_EXEMPT

public static final java.lang.String TAX_PLAN5_EXEMPT
Identifier for Tax Plan5 exempt property name

See Also:
Constant Field Values

TAX_PLAN6_EXEMPT

public static final java.lang.String TAX_PLAN6_EXEMPT
Identifier for Tax Plan6 exempt property name

See Also:
Constant Field Values

TAX_PLAN7_EXEMPT

public static final java.lang.String TAX_PLAN7_EXEMPT
Identifier for Tax Plan7 exempt property name

See Also:
Constant Field Values

TAX_PLAN8_EXEMPT

public static final java.lang.String TAX_PLAN8_EXEMPT
Identifier for Tax Plan8 exempt property name

See Also:
Constant Field Values
Method Detail

isTaxExemption

public boolean isTaxExemption()
                       throws AEFException
Indicates if this discount is a tax exemption.

Returns:
true if this discount is a tax exemption.
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan1Exemption

public boolean isTaxPlan1Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan1?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan2Exemption

public boolean isTaxPlan2Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan2?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan3Exemption

public boolean isTaxPlan3Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan3?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan4Exemption

public boolean isTaxPlan4Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan4?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan5Exemption

public boolean isTaxPlan5Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan5?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan6Exemption

public boolean isTaxPlan6Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan6?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan7Exemption

public boolean isTaxPlan7Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan7?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE

isTaxPlan8Exemption

public boolean isTaxPlan8Exemption()
                            throws AEFException
Is this discount a tax exemption to a tax plan8?

Returns:
boolean
Throws:
AEFException - Among the possible AEFException error codes are:
AEFConst.NO_SUCH_PROPERTY
AEFConst.INVALID_PROPERTY_VALUE


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