Methods Summary |
---|
public LineItem | addLineItem(Product product, long quantity)
return LineItem.generate(this, getLineItems().size(), product, quantity);
|
public java.lang.String | getBuyer()
return buyer;
|
public java.util.Date | getFulfillmentDate()
return fulfillmentDate;
|
public java.lang.Long | getId()
return id;
|
public java.util.List | getLineItems()
return lineItems;
|
public java.util.Date | getPlacementDate()
return placementDate;
|
public java.lang.String | getRegion()
return region;
|
public Salesperson | getSalesperson()
return salesperson;
|
public void | removeLineItem(LineItem item)
removeLineItem( item.getSequence() );
|
public void | removeLineItem(int sequence)
getLineItems().remove(sequence);
|
public void | setBuyer(java.lang.String buyer)
this.buyer = buyer;
|
public void | setFulfillmentDate(java.util.Date fulfillmentDate)
this.fulfillmentDate = fulfillmentDate;
|
public void | setId(java.lang.Long id)
this.id = id;
|
protected void | setLineItems(java.util.List lineItems)
this.lineItems = lineItems;
|
public void | setPlacementDate(java.util.Date placementDate)
this.placementDate = placementDate;
|
public void | setRegion(java.lang.String region)
this.region = region;
|
public void | setSalesperson(Salesperson salesperson)
this.salesperson = salesperson;
|