Method | Description | |
---|---|---|
Product ( |
||
Split ( int quantity ) : |
Splits this product category in two with the new product category inheriting the specified quantity from this product.
|
public Product ( |
||
model | ||
price | float | |
quantity | int | |
return | System |
public Split ( int quantity ) : |
||
quantity | int | The quantity of product to be removed from this product and placed into the new /// product |
return |