cafe.main
Class CancelProduct

java.lang.Object
  extended by cafe.main.CancelProduct

public class CancelProduct
extends java.lang.Object

Version:
0.1
Author:
Markus Penttil�

Constructor Summary
CancelProduct(ExportProduct product, java.lang.String time)
          Constructs a new canceled product from parameters.
 
Method Summary
 ExportProduct getExportProduct()
          Returns the product that has been tagged to be cancelled.
 java.lang.String getTimeDateString()
          Returns the timestamp for the product export transaction.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelProduct

public CancelProduct(ExportProduct product,
                     java.lang.String time)
Constructs a new canceled product from parameters.

Parameters:
product - The exported product that will be cancelled.
time - The date and time the product was exported (D.M.YYYY hh:mm).
Method Detail

getExportProduct

public ExportProduct getExportProduct()
Returns the product that has been tagged to be cancelled.

Returns:
The cancellable product.

getTimeDateString

public java.lang.String getTimeDateString()
Returns the timestamp for the product export transaction.

Returns:
The timestamp of the export transaction.