|
Copyright © 2008 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.service.Line
@Deprecated public class Line
This class represents some quantity of a ProductItem. Instances of the class are used as input to the Price service. Each Line item may be adorned with a List of DiscountPresentation objects corresponding to adjustments applied to the price of the Line.
PriceService,
PricingReply,
PricingRequest,
PricingRequestImpl,
DiscountPresentation,
ProductItem,
Serialized Form| Constructor Summary | |
|---|---|
Line(ProductItem item,
double quantity)
Deprecated See BEA Commerce product offering |
|
| Method Summary | |
|---|---|
List |
getDiscountDescriptions()
Deprecated See BEA Commerce product offering |
ProductItem |
getProductItem()
Deprecated See BEA Commerce product offering |
double |
getQuantity()
Deprecated See BEA Commerce product offering |
Money |
getTotal()
Deprecated See BEA Commerce product offering |
void |
set(ProductItem item,
double quantity)
Deprecated See BEA Commerce product offering |
void |
setDiscountDescriptions(List descriptions)
Deprecated See BEA Commerce product offering |
void |
setProductItem(ProductItem item)
Deprecated See BEA Commerce product offering |
void |
setQuantity(double quantity)
Deprecated See BEA Commerce product offering |
void |
setTotal(Money lineTotal)
Deprecated See BEA Commerce product offering |
String |
toString()
Deprecated See BEA Commerce product offering |
static String |
toString(Line[] lines)
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 |
|---|
public Line(ProductItem item,
double quantity)
item - the ProductItem for the Line.quantity - the quantity of the ProductItem.ProductItem| Method Detail |
|---|
public void set(ProductItem item,
double quantity)
item - the ProductItem for the Line.quantity - the quantity of the ProductItem.ProductItempublic ProductItem getProductItem()
ProductItempublic void setProductItem(ProductItem item)
ProductItempublic double getQuantity()
public void setQuantity(double quantity)
public Money getTotal()
public void setTotal(Money lineTotal)
public List getDiscountDescriptions()
DiscountPresentationpublic void setDiscountDescriptions(List descriptions)
descriptions - a List of DiscountPresentation objectsDiscountPresentationpublic String toString()
toString in class Objectpublic static String toString(Line[] lines)
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||