public class OrderLine extends AbstractEntity
Constructor and Description |
---|
OrderLine() |
Modifier and Type | Method and Description |
---|---|
Order |
getOrder() |
Product |
getProduct() |
Integer |
getQuantity() |
void |
setOrder(Order order) |
void |
setProduct(Product product) |
void |
setQuantity(Integer quantity) |
toString
public Order getOrder()
public void setOrder(Order order)
order
- the order to setpublic Integer getQuantity()
public void setQuantity(Integer quantity)
amount
- the amount to setpublic Product getProduct()
public void setProduct(Product product)
product
- the product to setCopyright © 2020. All rights reserved.