|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DiscountInfo is an interface which encapsulates the item information for a line item or transaction discount.
Field Summary | |
---|---|
static java.lang.String |
CLASS_KEY
|
Method Summary | |
---|---|
java.lang.String |
getAmount()
Gets the discount amount. |
java.lang.String |
getAppliesTo()
For line item discounts, get a value indicating the line item the discount applies to. |
java.lang.String |
getMethod()
Gets the discount method. |
java.lang.String |
getRate()
Gets the discount rate if the discount method is "percent". |
java.lang.String |
getReason()
Gets the discount reason. |
java.lang.String |
getType()
Gets the discount type. |
boolean |
isTransactionDiscount()
Indicates whether the discount is a transaction discount. |
boolean |
reducesTaxBalanceDue()
Indicates whether the discount reduces the tax balance due. |
void |
setAmount(java.lang.String amount)
Sets the discount amount. |
void |
setAppliesTo(java.lang.String appliesTo)
For line item discounts, sets a value indicating the line item the discount applies to. |
void |
setMethod(java.lang.String method)
Sets the discount method. |
void |
setRate(java.lang.String rate)
Sets the discount rate if the discount method is "percent". |
void |
setReason(java.lang.String reason)
Sets the discount reason. |
void |
setReducesTaxBalanceDue(boolean flag)
Sets whether the discount reduces the tax balance due. |
void |
setTransactionDiscount(boolean flag)
Sets whether the discount is a transaction discount. |
void |
setType(java.lang.String type)
Sets the discount type. |
Methods inherited from interface com.ibm.retail.AEF.automation.LineItemInfo |
---|
addRawReceiptLine, addReceiptLine, getDescription, getRawReceiptLines, getReceiptLines, getTransaction, isDeposit, isRefunded, isVoided, setDeposit, setDescription, setRawReceiptLines, setReceiptLines, setRefunded, setTransaction, setVoided |
Methods inherited from interface com.ibm.retail.AEF.automation.BaseInfo |
---|
getBooleanPropertyValue, getIntegerPropertyValue, getProperty, getPropertyEntries, setProperty, update |
Field Detail |
public static final java.lang.String CLASS_KEY
Method Detail |
public java.lang.String getAppliesTo()
public void setAppliesTo(java.lang.String appliesTo)
public java.lang.String getMethod()
public void setMethod(java.lang.String method)
public java.lang.String getRate()
public void setRate(java.lang.String rate)
public java.lang.String getAmount()
public void setAmount(java.lang.String amount)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getReason()
public void setReason(java.lang.String reason)
public boolean reducesTaxBalanceDue()
public void setReducesTaxBalanceDue(boolean flag)
public boolean isTransactionDiscount()
public void setTransactionDiscount(boolean flag)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |