IPerson, ITradePersonContractBrookerStatepublic interface IContractBroker extends ITradePerson
| Modifier and Type | Method | Description |
|---|---|---|
void |
deliver(int amount) |
Deliver a specified amount.
|
AmountablePrice<IWare> |
getAmountAndPrice() |
Retrieve the amount and price that was agreed upon.
|
int |
getDeliveredAmount() |
Retrieve the amount that was already delivered.
|
java.lang.String |
getName() |
Get the name of the contract broker.
|
IWare |
getWare() |
The ware that should be delivered.
|
void |
setName(java.lang.String name) |
Set the name of hte contract broker.
|
getAmount, getAvgPricePerItem, setAmount, setAvgPricePerItem, setWarejava.lang.String getName()
AmountablePrice<IWare> getAmountAndPrice()
IWare getWare()
getWare in interface ITradePersonint getDeliveredAmount()
void deliver(int amount)
amount - deliver the amount of ware.void setName(java.lang.String name)
name - of the contract broker.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.