com.ibm.retail.saf.provider
Interface ReceiptLineItem

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

public interface ReceiptLineItem
extends LineItem

Provides the information resulting from the sale of an item at the point-of-sale register.

This information consists of the item number, the number of units sold, the unit price, a short item description, and the extended price of the item as it would appear on a receipt.


Method Summary
 java.lang.String getDescription()
          Get the description of the item.
 java.lang.String getExtendedPrice()
          Get the extended price of the item.
 java.lang.String getUnitPrice()
          Get the unit price of the item.
 void setDescription(java.lang.String description)
          Set the description of the item.
 void setExtendedPrice(java.lang.String price)
          Set the extended price of the item.
 void setUnitPrice(java.lang.String price)
          Set the unit price of the item.
 
Methods inherited from interface com.ibm.retail.saf.provider.LineItem
getItemIdentifier, getQuantity, setItemIdentifier, setQuantity
 
Methods inherited from interface com.ibm.retail.saf.provider.POSInfo
getExtendedAttribute, getExtendedAttributeNames, removeExtendedAttribute, setExtendedAttribute
 

Method Detail

getDescription

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

Returns:
item description

getUnitPrice

public java.lang.String getUnitPrice()
Get the unit price of the item.

Returns:
unit price

getExtendedPrice

public java.lang.String getExtendedPrice()
Get the extended price of the item.

Returns:
extended price

setDescription

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


setUnitPrice

public void setUnitPrice(java.lang.String price)
Set the unit price of the item.


setExtendedPrice

public void setExtendedPrice(java.lang.String price)
Set the extended price of the item.