public class Order extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addOrderLine(OrderLine orderLine) |
Address |
getBillingAddress() |
User |
getCustomer() |
List<OrderLine> |
getOrderLines() |
Address |
getShippingAddress() |
void |
setBillingAddress(Address billingAddress) |
void |
setCustomer(User customer) |
void |
setShippingAddress(Address shippingAddress) |
String |
toString() |
public Order(Integer id)
public void addOrderLine(OrderLine orderLine)
public User getCustomer()
public void setCustomer(User customer)
public Address getShippingAddress()
public void setShippingAddress(Address shippingAddress)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
Copyright © 2008–2014. All rights reserved.