com.ibm.retail.AEF.automation
Interface LineItemInfo

All Superinterfaces:
BaseInfo, java.io.Serializable
All Known Subinterfaces:
CouponInfo, CreditInfo, DiscountInfo, ItemInfo, PointsInfo, TenderInfo

public interface LineItemInfo
extends BaseInfo

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

CLASS_KEY

public static final java.lang.String CLASS_KEY
See Also:
Constant Field Values
Method Detail

isVoided

public boolean isVoided()
Indicates whether the line item has been voided.

Returns:
boolean True if the line item has been voided.

setVoided

public void setVoided(boolean flag)
Sets whether the line item has been voided.


getReceiptLines

public java.util.Collection getReceiptLines()
Returns the receipt print lines associated with this line item.

Returns:
Collection A collection of Strings, each representing a print line.

setReceiptLines

public void setReceiptLines(java.util.Collection lines)
Sets the receipt print lines associated with this line item.


addReceiptLine

public void addReceiptLine(java.lang.String line)
Adds a print line for the line item.


getRawReceiptLines

public java.util.Collection getRawReceiptLines()
Returns the raw receipt print lines associated with this line item.

Returns:
Collection A collection of Strings, each representing a raw print line.

setRawReceiptLines

public void setRawReceiptLines(java.util.Collection lines)
Sets the raw receipt print lines associated with this line item.


addRawReceiptLine

public void addRawReceiptLine(java.lang.String line)
Adds a raw print line for the line item.


getDescription

public java.lang.String getDescription()
Get the description

Returns:
description

setDescription

public void setDescription(java.lang.String value)
Set the description


getTransaction

public com.ibm.retail.AEF.automation.Transaction getTransaction()
Get the transaction

Returns:
Transaction

setTransaction

public void setTransaction(com.ibm.retail.AEF.automation.Transaction trans)
Set the description


isRefunded

public boolean isRefunded()
Indicates whether the line item has been refunded.

Returns:
boolean True if the line item has been refunded.

setRefunded

public void setRefunded(boolean flag)
Sets whether the line item has been refunded.


isDeposit

public boolean isDeposit()
Indicates whether the line item is a deposit.

Returns:
boolean True if the line item is a deposit.

setDeposit

public void setDeposit(boolean flag)
Sets whether the line item is a deposit.



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