public class Order
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LINE_ID_FOOTER |
static java.lang.String |
LINE_ID_HEADER |
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
BillingInfo |
getBilling() |
Address |
getBillingAddress() |
Customer |
getCustomer() |
java.util.List<LineItem> |
getLineItems() |
java.util.Date |
getOrderDate() |
long |
getOrderId() |
ShippingInfo |
getShipping() |
Address |
getShippingAddress() |
int |
getTotalItems() |
int |
getTotalLines() |
java.math.BigDecimal |
getTotalPrice() |
int |
hashCode() |
void |
setBilling(BillingInfo billing) |
void |
setBillingAddress(Address billingAddress) |
void |
setCustomer(Customer customer) |
void |
setLineItems(java.util.List<LineItem> lineItems) |
void |
setOrderDate(java.util.Date orderDate) |
void |
setOrderId(long orderId) |
void |
setShipping(ShippingInfo shipping) |
void |
setShippingAddress(Address shippingAddress) |
void |
setTotalItems(int totalItems) |
void |
setTotalLines(int totalLines) |
void |
setTotalPrice(java.math.BigDecimal totalPrice) |
java.lang.String |
toString() |
public static final java.lang.String LINE_ID_HEADER
public static final java.lang.String LINE_ID_FOOTER
public BillingInfo getBilling()
public void setBilling(BillingInfo billing)
public Address getBillingAddress()
public void setBillingAddress(Address billingAddress)
public Customer getCustomer()
public void setCustomer(Customer customer)
public java.util.List<LineItem> getLineItems()
public void setLineItems(java.util.List<LineItem> lineItems)
public java.util.Date getOrderDate()
public void setOrderDate(java.util.Date orderDate)
public long getOrderId()
public void setOrderId(long orderId)
public ShippingInfo getShipping()
public void setShipping(ShippingInfo shipping)
public Address getShippingAddress()
public void setShippingAddress(Address shippingAddress)
public java.math.BigDecimal getTotalPrice()
public void setTotalPrice(java.math.BigDecimal totalPrice)
public int getTotalItems()
public void setTotalItems(int totalItems)
public int getTotalLines()
public void setTotalLines(int totalLines)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object