|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.commerce.ebusiness.price.quote.LineItem
@Deprecated public class LineItem
The LineItem class represents some quantity of a ProductItem. The class obtains the base and msrp prices from the ProductItem. LineAdjustment objects may be added to the LineItem to adjust the unit price of some sub-quantity of the LineItem. Each LineAdjustment will have a single detail describing the adjustment.
Quote
,
ProductItem
,
LineAdjustment
,
OrderAdjustment
,
AdjustmentDetail
,
AdjustmentType
,
QuoteFactory
,
Money
,
Serialized FormConstructor Summary | |
---|---|
protected |
LineItem()
Deprecated See BEA Commerce product offering |
|
LineItem(Quote quote,
ProductItem product,
int qty)
Deprecated See BEA Commerce product offering |
Method Summary | |
---|---|
protected void |
addAdjustment(int qty,
AdjustmentDetail detail)
Deprecated See BEA Commerce product offering |
protected void |
addAdjustment(int seqNumber,
int qty,
AdjustmentDetail detail)
Deprecated See BEA Commerce product offering |
List |
getAdjustments()
Deprecated See BEA Commerce product offering |
Money |
getBasePrice()
Deprecated See BEA Commerce product offering |
String |
getCurrency()
Deprecated See BEA Commerce product offering |
Money |
getMsrp()
Deprecated See BEA Commerce product offering |
ProductItem |
getProductItem()
Deprecated See BEA Commerce product offering |
int |
getQty()
Deprecated See BEA Commerce product offering |
Quote |
getQuote()
Deprecated See BEA Commerce product offering |
Money |
getTotal()
Deprecated See BEA Commerce product offering |
long |
getUID()
Deprecated See BEA Commerce product offering |
protected static void |
resetSeqNumber()
Deprecated See BEA Commerce product offering |
void |
set(Quote quote,
ProductItem product,
int qty)
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
static String |
toString(List list)
Deprecated See BEA Commerce product offering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LineItem()
public LineItem(Quote quote, ProductItem product, int qty) throws QuoteException
quote
- the Quote object this LineItem is part of.product
- the ProductItem associated with this LineItem.qty
- the quantity of the ProductItem represented by
this LineItem.
QuoteException
ProductItem
Method Detail |
---|
protected static void resetSeqNumber()
public void set(Quote quote, ProductItem product, int qty) throws QuoteException
quote
- the Quote object this LineItem is part of.product
- the ProductItem associated with this LineItem.qty
- the quantity of the ProductItem represented by
this LineItem.
QuoteException
ProductItem
public final int getQty()
public final ProductItem getProductItem()
ProductItem
public final Quote getQuote()
Quote
public List getAdjustments()
LineAdjustment
public final Money getBasePrice()
Money
,
ProductItem
public final Money getMsrp()
Money
,
ProductItem
public Money getTotal()
Money
public final long getUID()
public final String getCurrency()
protected void addAdjustment(int qty, AdjustmentDetail detail) throws QuoteException
qty
- the quantity of the item to adjust.aDetail
- an AdjustmentDetail.
QuoteException
LineAdjustment
,
AdjustmentDetail
,
Quote
protected void addAdjustment(int seqNumber, int qty, AdjustmentDetail detail) throws QuoteException
seqNumber
- the sequence number for this adjustment.qty
- the quantity of the item to adjust.aDetail
- an AdjustmentDetail.
QuoteException
LineAdjustment
,
AdjustmentDetail
,
Quote
public String toString()
toString
in class Object
public static final String toString(List list)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |