public class TradeInformation extends Object
| Constructor and Description |
|---|
TradeInformation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getSold()
The amount sold of the product
|
Integer |
getStock()
The product stock
|
int |
hashCode() |
void |
setSold(Integer sold) |
void |
setStock(Integer stock) |
TradeInformation |
sold(Integer sold) |
TradeInformation |
stock(Integer stock) |
String |
toString() |
public TradeInformation stock(Integer stock)
public Integer getStock()
public void setStock(Integer stock)
public TradeInformation sold(Integer sold)
public Integer getSold()
public void setSold(Integer sold)
Copyright © 2019. All rights reserved.