org.cocome.tradingsystem.cashdeskline.events
Class RunningTotalChangedEvent

java.lang.Object
  extended by org.cocome.tradingsystem.cashdeskline.events.RunningTotalChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class RunningTotalChangedEvent
extends java.lang.Object
implements java.io.Serializable

This event is raised by the cashdesk application component after another item has been scanned, identified and internally added to the current sale. It contains information about the current item, its price and the running total.

See Also:
Serialized Form

Constructor Summary
RunningTotalChangedEvent(java.lang.String productName, double productPrice, double runningTotal)
           
 
Method Summary
 java.lang.String getProductName()
           
 double getProductPrice()
           
 double getRunningTotal()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunningTotalChangedEvent

public RunningTotalChangedEvent(java.lang.String productName,
                                double productPrice,
                                double runningTotal)
Method Detail

getProductName

public java.lang.String getProductName()

getProductPrice

public double getProductPrice()

getRunningTotal

public double getRunningTotal()