ibspan.ecap.merchant.shopdecisions.negotiationpreparation
Class NegotiationDescription

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.negotiationpreparation.NegotiationDescription
All Implemented Interfaces:
java.io.Serializable

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

A class containing information about a negotiation required to prepare a template and a strategy.

Author:
Micha³ Drozdowicz
See Also:
Serialized Form

Constructor Summary
NegotiationDescription(java.util.Date preparationTime, java.lang.String productId, float startingPrice, float reservePrice, int offeredAmount, java.lang.String strategyId, java.lang.String templateId)
          Constructor
 
Method Summary
 int getOfferedAmount()
          Gets the offered amount of product.
 java.util.Date getPreparationTime()
           
 java.lang.String getProductId()
          Gets the product id being offered.
 float getReservePrice()
          Gets the reserve price to use in the negotiation.
 float getStartingPrice()
          Gets the starting price to use in the negotiation.
 java.lang.String getStrategyId()
           
 java.lang.String getTemplateId()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NegotiationDescription

public NegotiationDescription(java.util.Date preparationTime,
                              java.lang.String productId,
                              float startingPrice,
                              float reservePrice,
                              int offeredAmount,
                              java.lang.String strategyId,
                              java.lang.String templateId)
Constructor

Parameters:
productId - the product id being offered
startingPrice - the starting price to use in the negotiation
offeredAmount - the amount of product offered
Method Detail

getProductId

public java.lang.String getProductId()
Gets the product id being offered.

Returns:
the product id being offered.

getStartingPrice

public float getStartingPrice()
Gets the starting price to use in the negotiation.

Returns:
the starting price to use in the negotiation.

getReservePrice

public float getReservePrice()
Gets the reserve price to use in the negotiation.

Returns:
the reserve price to use in the negotiation.

getOfferedAmount

public int getOfferedAmount()
Gets the offered amount of product.

Returns:
the offered amount of product

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getStrategyId

public java.lang.String getStrategyId()

getTemplateId

public java.lang.String getTemplateId()

getPreparationTime

public java.util.Date getPreparationTime()