it.dtt.ca.request
Class BuyRequest

java.lang.Object
  extended by it.dtt.ca.request.CARequest
      extended by it.dtt.ca.request.BuyRequest

public class BuyRequest
extends CARequest

This request should be used to buy any Product, including PPV events PPVEvent.


Constructor Summary
BuyRequest(Product productToBuy)
          Constructs the new buy request.
 
Method Summary
 Product getProductToBuy()
          Determines the product which shall be bought.
 
Methods inherited from class it.dtt.ca.request.CARequest
cancel, getPrivateData, isCancelled, setPrivateData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuyRequest

public BuyRequest(Product productToBuy)
Constructs the new buy request.

Parameters:
productToBuy - the product which should be bought.
Method Detail

getProductToBuy

public Product getProductToBuy()
Determines the product which shall be bought.

Returns:
the product which shall bought.