| public double getPurchasePrice() |
Double method to return the purchase price of the stock |
Q.1 |
| public SimpleDoubleProperty purchase PriceProperty() |
Method using SimpleDoubleProperty to return the purchase price of the stock |
Q.1 |
| public double getSellPrice() |
Double method to return the sell price of the stock |
Q.1 |
| public SimpleDoubleProperty purchase SellProperty() |
Method using SimpleDoubleProperty to return the sold price of the stock |
Q.1 |
| public SimpleDoubleProperty accountValue() |
Method using SimpleDoubleProperty to return the account value |
Q.1 |
| public void setPurchaseValue() |
Method using the getQuantity and getPurchasePrice methods to set the purchase value of the stock. |
Q.1 |
| public void setNet(double n) |
Method to set the Net value of the stock |
Q.1 |
| public double getNet() |
Double method to return the net of the stock |
Q.1 |
| public double getTotalCost() |
Double method to return the total cost of a stock |
Q.1 |
| public double getProfit() |
Double method to return the profit |
Q.1 |