org.cocome.tradingsystem.cashdeskline.events
Class SaleRegisteredEvent
java.lang.Object
org.cocome.tradingsystem.cashdeskline.events.SaleRegisteredEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SaleRegisteredEvent
- extends java.lang.Object
- implements java.io.Serializable
This event is raised by the cashdesk application component when a sale is
finished and registered in the inventory. It contains statistical information
about the sale (number of items, mode of payment).
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaleRegisteredEvent
public SaleRegisteredEvent(java.lang.String cashdesk,
int numberOfItems,
PaymentMode paymentMode)
getNumberOfItems
public int getNumberOfItems()
getPaymentMode
public PaymentMode getPaymentMode()
getCashdesk
public java.lang.String getCashdesk()