Method | Description | |
---|---|---|
AddNewProduct ( System.Guid productId, int quantity ) : void |
This will add a new Product to our sstock
|
|
AddQuantity ( System.Guid productId, int quantity ) : void |
This will add a new quantity to a specific product
|
|
RemoveQuantity ( System.Guid productId, int quantity ) : void |
This will remove quantity from the stock
|
|
Search ( ) : int>.Dictionary |
Searches the stock for products that have the specified tag(s)
|
|
Search ( string text ) : List |
Delegate the Search to the Search chain
|
|
Stock ( ) : System |
public AddNewProduct ( System.Guid productId, int quantity ) : void | ||
productId | System.Guid | |
quantity | int | |
return | void |
public AddQuantity ( System.Guid productId, int quantity ) : void | ||
productId | System.Guid | |
quantity | int | |
return | void |
public RemoveQuantity ( System.Guid productId, int quantity ) : void | ||
productId | System.Guid | |
quantity | int | |
return | void |