IContractBroker, IPerson, ITradePersonpublic class ContractBrookerState extends BaseTradePerson implements IContractBroker
| Constructor | Description |
|---|---|
ContractBrookerState(AmountablePrice<IWare> amountAndPrice,
IWare ware) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deliver(int amount) |
Deliver a specified amount.
|
getAmountAndPrice, getDeliveredAmount, getName, getWare, setNamegetAmount, getAvgPricePerItem, setAmount, setAvgPricePerItem, setWarepublic ContractBrookerState(AmountablePrice<IWare> amountAndPrice, IWare ware)
public void deliver(int amount)
IContractBrokerdeliver in interface IContractBrokeramount - deliver the amount of ware.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.