public interface IContractBroker extends ITradePerson
| Modifier and Type | Method and 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.
|
String |
getName()
Get the name of the contract broker.
|
IWare |
getWare()
The ware that should be delivered.
|
void |
setName(String name) |
getAmount, getAvgPricePerItem, setAmount, setAvgPricePerItem, setWareString getName()
AmountablePrice<IWare> getAmountAndPrice()
IWare getWare()
getWare in interface ITradePersonint getDeliveredAmount()
void deliver(int amount)
amount - void setName(String name)
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.