com.restfully.shop.domain
Class Order

java.lang.Object
  extended by com.restfully.shop.domain.Order

public class Order
extends Object

Version:
$Revision: 1 $
Author:
Bill Burke

Field Summary
protected  boolean cancelled
           
protected  Customer customer
           
protected  String date
           
protected  int id
           
protected  List<LineItem> lineItems
           
protected  String total
           
 
Constructor Summary
Order()
           
 
Method Summary
 Customer getCustomer()
           
 String getDate()
           
 int getId()
           
 List<LineItem> getLineItems()
           
 String getTotal()
           
 boolean isCancelled()
           
 void setCancelled(boolean cancelled)
           
 void setCustomer(Customer customer)
           
 void setDate(String date)
           
 void setId(int id)
           
 void setLineItems(List<LineItem> lineItems)
           
 void setTotal(String total)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected int id

cancelled

protected boolean cancelled

lineItems

protected List<LineItem> lineItems

total

protected String total

date

protected String date

customer

protected Customer customer
Constructor Detail

Order

public Order()
Method Detail

getId

public int getId()

setId

public void setId(int id)

isCancelled

public boolean isCancelled()

setCancelled

public void setCancelled(boolean cancelled)

getLineItems

public List<LineItem> getLineItems()

setLineItems

public void setLineItems(List<LineItem> lineItems)

getDate

public String getDate()

setDate

public void setDate(String date)

getTotal

public String getTotal()

setTotal

public void setTotal(String total)

getCustomer

public Customer getCustomer()

setCustomer

public void setCustomer(Customer customer)


Copyright © 2011. All Rights Reserved.