IPersonIContractBroker, ITraderBaseTradePerson, ContractBrookerState, TraderStatepublic interface ITradePerson extends IPerson
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAmount() |
Amount of the ware that is to be delivered.
|
int |
getAvgPricePerItem() |
Get the price of a single item
|
IWare |
getWare() |
The ware the broker is to be delivered.
|
void |
setAmount(int amount) |
Set the amount of the trade
|
void |
setAvgPricePerItem(int avgPricePerItem) |
Set the price per item
|
void |
setWare(IWare ware) |
Set the ware for the trade.
|
IWare getWare()
int getAmount()
int getAvgPricePerItem()
void setWare(IWare ware)
ware - of the tradevoid setAmount(int amount)
amount - of the ware to be tradedvoid setAvgPricePerItem(int avgPricePerItem)
avgPricePerItem - average price per item of the ware.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.