An offer for a project An offer describes a legally binding service proposal with associated costs. @since: 1.9.0 @author: Tobias Koch
Type | Name and description |
---|---|
Customer |
customer The customer for which this offer was created |
java.util.Date |
expirationDate The date on which the offer expires |
OfferId |
identifier The identifier for the offer which makes it distinguishable from other offers |
java.util.List<ProductItem> |
items A list of items for which the customer will be charged |
java.util.Date |
modificationDate Date on which the offer was lastly modified |
java.lang.String |
projectDescription A short description of the project |
ProjectManager |
projectManager The QBiC project manager who was assigned to the project |
java.lang.String |
projectTitle The title of the project |
double |
totalPrice The total price of the offer (the price of all items) |
Constructor and description |
---|
Offer
(java.util.Date modificationDate, java.util.Date expirationDate, Customer customer, ProjectManager projectManager, java.lang.String projectTitle, java.lang.String projectDescription, java.util.List<ProductItem> items, double totalPrice, OfferId identifier) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addItem(ProductItem item) Adds a new item to the items list of the offer |
|
void |
removeItem(ProductItem item) Removes an item from the list of items of the offer |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The customer for which this offer was created
The date on which the offer expires
The identifier for the offer which makes it distinguishable from other offers
A list of items for which the customer will be charged
Date on which the offer was lastly modified
A short description of the project
The QBiC project manager who was assigned to the project
The title of the project
The total price of the offer (the price of all items)
Adds a new item to the items list of the offer
item
- which should be added to current list of itemsRemoves an item from the list of items of the offer
item
- which should be removed from the current list of itemsGroovy Documentation