com.ibm.retail.saf.provider
Interface TransactionResult

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

public interface TransactionResult
extends POSResult

Contains the results of processing a point-of-sale transaction.

TransactionResult is used by a POSProvider to return information from the point-of-sale system which is produced from processing actions on a POS transaction.


Method Summary
 java.util.Iterator getReceiptLineItems()
          Get an iterator for the ReceiptLineItems contained in the result.
 com.ibm.retail.saf.provider.TransactionID getTransactionID()
          Get the TransactionID s contained in the result.
 com.ibm.retail.saf.provider.TransactionTotals getTransactionTotals()
          Get the TransactionTotals s contained in the result.
 
Methods inherited from interface com.ibm.retail.saf.provider.POSResult
getExceptions, hasExceptions
 
Methods inherited from interface com.ibm.retail.saf.provider.POSInfo
getExtendedAttribute, getExtendedAttributeNames, removeExtendedAttribute, setExtendedAttribute
 

Method Detail

getReceiptLineItems

public java.util.Iterator getReceiptLineItems()
Get an iterator for the ReceiptLineItems contained in the result.

If no items exist, an iterator with no entries is returned.

Each ReceiptLineItem contains the item information created for the item as it is sold by the point-of-sale system.

Returns:
iterator for ReceiptLineItems in this result
See Also:
ReceiptLineItem

getTransactionID

public com.ibm.retail.saf.provider.TransactionID getTransactionID()
Get the TransactionID s contained in the result.

Transaction ID contains the transaction number created for the transaction by the point-of-sale system.

Returns:
Transaction ID s in this result
See Also:
TransactionID

getTransactionTotals

public com.ibm.retail.saf.provider.TransactionTotals getTransactionTotals()
Get the TransactionTotals s contained in the result.

TransactionTotals contains the sub-total, tax and total for the transaction so far.

Returns:
TransactionTotals s in this result
See Also:
TransactionTotals