public class ProductOrder
extends java.lang.Object
Constructor and Description |
---|
ProductOrder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProductId()
Returns the id of the product to order.
|
int |
getQuantity()
Returns the quantity of the ordered product.
|
void |
setProductId(java.lang.String productId)
Sets the id of the product to order.
|
void |
setQuantity(int quantity)
Sets the quantity of the ordered product.
|
public java.lang.String getProductId()
public void setProductId(java.lang.String productId)
productId
- The id of the product to order.public int getQuantity()
public void setQuantity(int quantity)
quantity
- The id of the ordered product.