All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.bargainer.messages.DeliveryReceipt

java.lang.Object
   |
   +----semper.commerce.Transaction
           |
           +----semper.commerce.GenericTransaction
                   |
                   +----semper.BApp.bargainer.messages.UnsignedMessage
                           |
                           +----semper.BApp.bargainer.messages.DeliveryReceipt

public class DeliveryReceipt
extends UnsignedMessage

Constructor Index

 o DeliveryReceipt(ActiveDeal, Transaction)
Constructs a new DeliveryReceipt object.
 o DeliveryReceipt(ActiveDeal, Transaction, PersonalInfo, PersonalInfo, String, ProductInfo)

Method Index

 o getContents()
 o getProductInfo()
Returns the productInfo of DeliveryReceipt.
 o makeDescription()
Returns a generic description for this type of transactions.
 o setProductInfo(ProductInfo)
Sets the productInfo of DeliveryReceipt.

Constructors

 o DeliveryReceipt
 public DeliveryReceipt(ActiveDeal deal,
                        Transaction ref) throws AssociationException, TransactionException
Constructs a new DeliveryReceipt object.

 o DeliveryReceipt
 public DeliveryReceipt(ActiveDeal deal,
                        Transaction ref,
                        PersonalInfo buyer,
                        PersonalInfo seller,
                        String comment,
                        ProductInfo productInfo) throws AssociationException, TransactionException

Methods

 o setProductInfo
 public void setProductInfo(ProductInfo productInfo)
Sets the productInfo of DeliveryReceipt.

Parameters:
productInfo - the productInfo of DeliveryReceipt
 o getProductInfo
 public ProductInfo getProductInfo()
Returns the productInfo of DeliveryReceipt.

 o getContents
 public String getContents()
Overrides:
getContents in class UnsignedMessage
 o makeDescription
 public Description makeDescription()
Returns a generic description for this type of transactions.

Overrides:
makeDescription in class GenericTransaction

All Packages  Class Hierarchy  This Package  Previous  Next  Index