All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.BApp.bargainer.messages.Invoice

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

public class Invoice
extends UnsignedMessage

Constructor Index

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

Method Index

 o getContents()
 o getExpirationDate()
Returns the expirationDate of Invoice.
 o getInvoiceText()
 o getProductInfo()
Returns the productInfo of Invoice.
 o makeDescription()
Returns a generic description for this type of transactions.
 o setExpirationDate(Date)
Sets the expirationDate of Invoice.
 o setProductInfo(ProductInfo)
Sets the productInfo of Invoice.

Constructors

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

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

Methods

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

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

 o setExpirationDate
 public void setExpirationDate(Date expirationDate)
Sets the expirationDate of Invoice.

Parameters:
expirationDate - the expirationDate of Invoice
 o getExpirationDate
 public Date getExpirationDate()
Returns the expirationDate of Invoice.

 o getContents
 public String getContents()
Overrides:
getContents in class UnsignedMessage
 o getInvoiceText
 public String getInvoiceText()
 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