IPerson, ISideRoomPerson, ITavernPersonBuyerStatepublic interface IBuyer extends ISideRoomPerson
| Modifier and Type | Method | Description |
|---|---|---|
AmountablePrice<IWare> |
getAmountablePrice() |
Retrieve the amount and price of the ware.
|
java.lang.String |
getName() |
Retrieve the buyers name.
|
java.time.LocalDateTime |
getTimeFrame() |
Date until which the wares have to be delivered.
|
IWare |
getWare() |
Wares that are to be delivered.
|
void |
setAmountablePrice(AmountablePrice<IWare> amountablePrice) |
Define the amount and price for the ware.
|
void |
setDeadline(java.time.LocalDateTime deadline) |
Set the deadline untill when the wares must be supplied.
|
void |
setName(java.lang.String name) |
Set the name of the buyer.
|
void |
setWare(IWare ware) |
Set the ware to be supplied.
|
arrive, getArrivalDate, getMaxDaysAbsent, getMaxDaysPresent, getNumberOfDaysSinceArrival, isPresent, isPresentProperty, leave, setCityjava.lang.String getName()
java.time.LocalDateTime getTimeFrame()
IWare getWare()
AmountablePrice<IWare> getAmountablePrice()
void setName(java.lang.String name)
name - of the buyervoid setDeadline(java.time.LocalDateTime deadline)
deadline - date until when the wares must be readyvoid setWare(IWare ware)
ware - to be supplied.void setAmountablePrice(AmountablePrice<IWare> amountablePrice)
amountablePrice - amount and price of the wareCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.