Commit 0154d87a authored by Rohit Prasad's avatar Rohit Prasad

Add setter method to set quantity value

parent 6fbbc447
......@@ -31,6 +31,8 @@ public abstract class Order {
Customer getCustomer() { return c; }
Stock getStock() { return stock; }
void setQty(int qty) { this.qty = qty; }
@Override
public boolean equals(Object o) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment