|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.commerce.ebusiness.price.quote.Adjustment com.bea.commerce.ebusiness.price.quote.OrderAdjustment
@Deprecated public class OrderAdjustment
An OrderAdjustment is used in conjunction with the Quote class to adjust the total price of the Quote.
Adjustment
,
Quote
,
AdjustmentDetail
,
Money
,
AdjustmentType
,
Serialized FormField Summary |
---|
Fields inherited from class com.bea.commerce.ebusiness.price.quote.Adjustment |
---|
details, isSet, type |
Constructor Summary | |
---|---|
protected |
OrderAdjustment()
Deprecated |
|
OrderAdjustment(Money aBasePrice,
Quote parent)
Deprecated Constructs a new OrderAdjustment with the specified values. |
Method Summary | |
---|---|
protected void |
addDetail(AdjustmentDetail aDetail)
Deprecated Adding a detail changes the adjustment type to match the detail. |
protected void |
computeAdjustmentAmount()
Deprecated Computes the amount of adjustment. |
Quote |
getParent()
Deprecated Returns the Quote that is the parent of this adjustment |
protected void |
init()
Deprecated allocate permanent objects, called by super constructor |
protected void |
reset()
Deprecated reset created values, called by super set() |
protected double |
roundBasePrice(double value)
Deprecated Provides a means to round the base price amount. |
void |
set(Money aBasePrice,
Quote parent)
Deprecated Sets the adjusment object values, clearing any old values |
protected void |
setType(AdjustmentDetail aDetail)
Deprecated called by addDetail() in the super class to set the type of this adjustment. |
String |
toString()
Deprecated Provides a string representation of this object. |
static String |
toString(List adjustments)
Deprecated Provides a string representation of a List of OrderAdjustments. |
Methods inherited from class com.bea.commerce.ebusiness.price.quote.Adjustment |
---|
checkCurrency, checkCurrency, checkCurrency, getActualPrice, getAdjustmentAmount, getBasePrice, getCurrency, getDetails, getType, markModified, set, set, setActualPrice, setAdjustmentAmount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected OrderAdjustment()
public OrderAdjustment(Money aBasePrice, Quote parent)
Adjustment
,
Quote
Method Detail |
---|
public void set(Money aBasePrice, Quote parent)
protected void init()
init
in class Adjustment
protected void reset()
reset
in class Adjustment
public final Quote getParent()
protected void addDetail(AdjustmentDetail aDetail)
Adjustment
addDetail
in class Adjustment
protected void setType(AdjustmentDetail aDetail)
setType
in class Adjustment
protected double roundBasePrice(double value)
roundBasePrice
in class Adjustment
value
- Money amount to be roundedprotected void computeAdjustmentAmount()
computeAdjustmentAmount
in class Adjustment
public String toString()
toString
in class Adjustment
public static String toString(List adjustments)
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |