메소드 | 설명 | |
---|---|---|
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 | |
리턴 | System |
public Split ( int quantity ) : |
||
quantity | int | The quantity of product to be removed from this product and placed into the new /// product |
리턴 |