| 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OrderLine
OrderLine represents one line in an Order. It contains a reference to an Item, a Quantity, a unitPrice and a list of Adjustments to the total line price. Attribute: quantity
OrderLineHome, 
OrderLineImpl| Method Summary | |
|---|---|
 ArrayList | 
getAdjustmentPresentations()
Get the list of OrderAdjustmentPresentation objects  | 
 String | 
getDescription()
Get the value of description  | 
 long | 
getId()
Get order line id  | 
 Money | 
getLineTotal(int totalType)
Gets the line total for the given total type  | 
 Money | 
getMsrp()
Get the value of msrp  | 
 String | 
getProductIdentifier()
Get the value of productIdentifier  | 
 double | 
getQuantity()
Get the value of quantity  | 
 Money | 
getShipping()
Get the value of shipping  | 
 Money | 
getTax()
Get the value of tax  | 
 double | 
getTotalLineAmount()
Get the value of quantity  | 
 Money | 
getUnitPrice()
Get the value of unitPrice  | 
 void | 
setAdjustmentPresentations(ArrayList adjustmentPresentations)
Set the list of OrderAdjustmentPresentation object  | 
 void | 
setDescription(String description)
Set the value of description  | 
 void | 
setId(long id)
Set the order line id  | 
 void | 
setMsrp(Money msrp)
Set the value of msrp  | 
 void | 
setProductIdentifier(String productIdentifier)
Set the value of productIdentifier  | 
 void | 
setQuantity(double quantity)
Set the value of quantity  | 
 void | 
setShipping(Money shipping)
Set the value of shipping  | 
 void | 
setTax(Money tax)
Set the value of tax  | 
 void | 
setTotalLineAmount(double totalLineAmount)
Set the value of quantity  | 
 void | 
setUnitPrice(Money unitPrice)
Set the value of unitPrice  | 
| Methods inherited from interface com.beasys.commerce.foundation.Belonging | 
|---|
clone, equals, interfaceName, setByValue, value | 
| Methods inherited from interface java.lang.Comparable | 
|---|
compareTo | 
| Method Detail | 
|---|
double getQuantity()
void setQuantity(double quantity)
quantity - quantity to be addeddouble getTotalLineAmount()
void setTotalLineAmount(double totalLineAmount)
totalLineAmount - quantity to be addedMoney getTax()
void setTax(Money tax)
tax - tax to be addedMoney getUnitPrice()
void setUnitPrice(Money unitPrice)
unitPrice - unitPrice to be addedMoney getShipping()
void setShipping(Money shipping)
shipping - shipping to be addedString getProductIdentifier()
void setProductIdentifier(String productIdentifier)
productIdentifier - productIdentifier to be addedMoney getMsrp()
void setMsrp(Money msrp)
msrp - msrp to be addedString getDescription()
void setDescription(String description)
description - description to be addedArrayList getAdjustmentPresentations()
void setAdjustmentPresentations(ArrayList adjustmentPresentations)
adjustments, - the list of OrderDiscountPresentationslong getId()
void setId(long id)
id, - the long order line id.
Money getLineTotal(int totalType)
                   throws InvalidArgumentException
total - type
InvalidArgumentException
  | 
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||