com.ibm.retail.saf.provider
Class DefaultReceiptLineItem

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--com.ibm.retail.saf.provider.POSInfoImpl
                    |
                    +--com.ibm.retail.saf.provider.DefaultLineItem
                          |
                          +--com.ibm.retail.saf.provider.DefaultReceiptLineItem
All Implemented Interfaces:
java.lang.Cloneable, LineItem, java.util.Map, POSInfo, ReceiptLineItem, java.io.Serializable

public class DefaultReceiptLineItem
extends DefaultLineItem
implements ReceiptLineItem

Implements the ReceiptLineItem interface.

See Also:
Serialized Form

Field Summary
protected  java.lang.String description
           
protected  java.lang.String extendedPrice
           
protected  java.lang.String unitPrice
           
 
Fields inherited from class java.util.HashMap
 
Fields inherited from class java.util.AbstractMap
 
Constructor Summary
DefaultReceiptLineItem()
           
 
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 extendedPrice)
          Set the extended price of the item.
 void setUnitPrice(java.lang.String unitPrice)
          Set the unit price of the item.
 
Methods inherited from class com.ibm.retail.saf.provider.DefaultLineItem
getItemIdentifier, getQuantity, setItemIdentifier, setQuantity
 
Methods inherited from class com.ibm.retail.saf.provider.POSInfoImpl
getExtendedAttribute, getExtendedAttributeNames, removeExtendedAttribute, setExtendedAttribute
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

description

protected java.lang.String description

unitPrice

protected java.lang.String unitPrice

extendedPrice

protected java.lang.String extendedPrice
Constructor Detail

DefaultReceiptLineItem

public DefaultReceiptLineItem()
Method Detail

getDescription

public java.lang.String getDescription()
Description copied from interface: ReceiptLineItem
Get the description of the item.

Specified by:
getDescription in interface ReceiptLineItem
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: ReceiptLineItem
Set the description of the item.

Specified by:
setDescription in interface ReceiptLineItem
Parameters:
description - The description to set.

getExtendedPrice

public java.lang.String getExtendedPrice()
Description copied from interface: ReceiptLineItem
Get the extended price of the item.

Specified by:
getExtendedPrice in interface ReceiptLineItem
Returns:
Returns the extendedPrice.

setExtendedPrice

public void setExtendedPrice(java.lang.String extendedPrice)
Description copied from interface: ReceiptLineItem
Set the extended price of the item.

Specified by:
setExtendedPrice in interface ReceiptLineItem
Parameters:
extendedPrice - The extendedPrice to set.

getUnitPrice

public java.lang.String getUnitPrice()
Description copied from interface: ReceiptLineItem
Get the unit price of the item.

Specified by:
getUnitPrice in interface ReceiptLineItem
Returns:
Returns the unitPrice.

setUnitPrice

public void setUnitPrice(java.lang.String unitPrice)
Description copied from interface: ReceiptLineItem
Set the unit price of the item.

Specified by:
setUnitPrice in interface ReceiptLineItem
Parameters:
unitPrice - The unitPrice to set.