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
-
Invoice(ActiveDeal, Transaction)
- Constructs a new Invoice object.
-
Invoice(ActiveDeal, Transaction, PersonalInfo, PersonalInfo, String, ProductInfo, Date)
-
-
getContents()
-
-
getExpirationDate()
- Returns the expirationDate of Invoice.
-
getInvoiceText()
-
-
getProductInfo()
- Returns the productInfo of Invoice.
-
makeDescription()
- Returns a generic description for this type of transactions.
-
setExpirationDate(Date)
- Sets the expirationDate of Invoice.
-
setProductInfo(ProductInfo)
- Sets the productInfo of Invoice.
Invoice
public Invoice(ActiveDeal deal,
Transaction ref) throws AssociationException, TransactionException
- Constructs a new Invoice object.
Invoice
public Invoice(ActiveDeal deal,
Transaction ref,
PersonalInfo buyer,
PersonalInfo seller,
String comment,
ProductInfo productInfo,
Date expirationDate) throws AssociationException, TransactionException
setProductInfo
public void setProductInfo(ProductInfo productInfo)
- Sets the productInfo of Invoice.
- Parameters:
- productInfo - the productInfo of Invoice
getProductInfo
public ProductInfo getProductInfo()
- Returns the productInfo of Invoice.
setExpirationDate
public void setExpirationDate(Date expirationDate)
- Sets the expirationDate of Invoice.
- Parameters:
- expirationDate - the expirationDate of Invoice
getExpirationDate
public Date getExpirationDate()
- Returns the expirationDate of Invoice.
getContents
public String getContents()
- Overrides:
- getContents in class UnsignedMessage
getInvoiceText
public String getInvoiceText()
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