|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
LineItemInfo is an interface which represents data for any of the line items in a transaction (i.e., item, discount, tender, etc.).
Field Summary | |
---|---|
static java.lang.String |
CLASS_KEY
|
Method Summary | |
---|---|
void |
addRawReceiptLine(java.lang.String line)
Adds a raw print line for the line item. |
void |
addReceiptLine(java.lang.String line)
Adds a print line for the line item. |
java.lang.String |
getDescription()
Get the description |
java.util.Collection |
getRawReceiptLines()
Returns the raw receipt print lines associated with this line item. |
java.util.Collection |
getReceiptLines()
Returns the receipt print lines associated with this line item. |
com.ibm.retail.AEF.automation.Transaction |
getTransaction()
Get the transaction |
boolean |
isDeposit()
Indicates whether the line item is a deposit. |
boolean |
isRefunded()
Indicates whether the line item has been refunded. |
boolean |
isVoided()
Indicates whether the line item has been voided. |
void |
setDeposit(boolean flag)
Sets whether the line item is a deposit. |
void |
setDescription(java.lang.String value)
Set the description |
void |
setRawReceiptLines(java.util.Collection lines)
Sets the raw receipt print lines associated with this line item. |
void |
setReceiptLines(java.util.Collection lines)
Sets the receipt print lines associated with this line item. |
void |
setRefunded(boolean flag)
Sets whether the line item has been refunded. |
void |
setTransaction(com.ibm.retail.AEF.automation.Transaction trans)
Set the description |
void |
setVoided(boolean flag)
Sets whether the line item has been voided. |
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 boolean isVoided()
public void setVoided(boolean flag)
public java.util.Collection getReceiptLines()
public void setReceiptLines(java.util.Collection lines)
public void addReceiptLine(java.lang.String line)
public java.util.Collection getRawReceiptLines()
public void setRawReceiptLines(java.util.Collection lines)
public void addRawReceiptLine(java.lang.String line)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public com.ibm.retail.AEF.automation.Transaction getTransaction()
public void setTransaction(com.ibm.retail.AEF.automation.Transaction trans)
public boolean isRefunded()
public void setRefunded(boolean flag)
public boolean isDeposit()
public void setDeposit(boolean flag)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |