com.ibm.retail.saf.provider
Interface CashReceiptImage

All Superinterfaces:
POSInfo, java.io.Serializable
All Known Implementing Classes:
Default4690CashReceipt

public interface CashReceiptImage
extends POSInfo

Provides an image of the point-of-sale register cash receipt.

A cash receipt is produced by the point-of-sale register as the result of performing a transaction. The CashReceiptImage provides an object representation of the receipt in both plain text and attribute embedded (or "Raw") text formats. The "raw" form of a print line contains a representation of the printer control characters (escape sequences) that are used by the POS application to indicate text attributes such as bold text and font sizes.


Method Summary
 int getNumberOfPrintLines()
          Provides the number of print lines in the filtered (no attributes) receipt
 java.util.Iterator getPrintLines()
          Provides an iterator for the filtered print line objects on the cash receipt.
 
Methods inherited from interface com.ibm.retail.saf.provider.POSInfo
getExtendedAttribute, getExtendedAttributeNames, removeExtendedAttribute, setExtendedAttribute
 

Method Detail

getPrintLines

public java.util.Iterator getPrintLines()
Provides an iterator for the filtered print line objects on the cash receipt.

Each entry returned by the iterator is a PrintLine object.

Returns:
iterator over the print line text strings

getNumberOfPrintLines

public int getNumberOfPrintLines()
Provides the number of print lines in the filtered (no attributes) receipt

Returns:
number of lines