|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.pricing.PricingAdjustment
public class PricingAdjustment
Represents an element of a price's audit trail. A chain of these objects
represents all of the changes that a price has undergone. This is useful
in examining how a price was calculated. These appear in
the AmountInfo's adjustments
list.
Properties:
AmountInfo
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
PricingAdjustment()
Constructors |
|
PricingAdjustment(java.lang.String pAdjustmentDescription,
RepositoryItem pPricingModel,
double pTotalAdjustment,
long pQuantityAdjusted)
|
|
PricingAdjustment(java.lang.String pAdjustmentDescription,
RepositoryItem pPricingModel,
RepositoryItem pManualPricingAdjustment,
double pTotalAdjustment,
long pQuantityAdjusted)
|
Method Summary | |
---|---|
double |
getAdjustment()
The unit price adjustment |
java.lang.String |
getAdjustmentDescription()
Get property AdjustmentDescription |
RepositoryItem |
getManualPricingAdjustment()
The manual pricing adjustment that caused this price adjustment |
RepositoryItem |
getPricingModel()
The pricing model that caused this price adjustment |
long |
getQuantityAdjusted()
Get property QuantityAdjusted |
double |
getTotalAdjustment()
The total price adjustment |
void |
setAdjustment(double pAdjustment)
Deprecated. |
void |
setAdjustmentDescription(java.lang.String pAdjustmentDescription)
Set property AdjustmentDescription |
void |
setManualPricingAdjustment(RepositoryItem pManualPricingAdjustment)
|
void |
setPricingModel(RepositoryItem pPricingModel)
|
void |
setQuantityAdjusted(long pQuantityAdjusted)
Set property QuantityAdjusted |
void |
setTotalAdjustment(double pTotalAdjustment)
|
java.lang.String |
toString()
Object override |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public PricingAdjustment()
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, double pTotalAdjustment, long pQuantityAdjusted)
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, RepositoryItem pManualPricingAdjustment, double pTotalAdjustment, long pQuantityAdjusted)
Method Detail |
---|
public void setAdjustmentDescription(java.lang.String pAdjustmentDescription)
pAdjustmentDescription
- new value to setpublic java.lang.String getAdjustmentDescription()
public void setPricingModel(RepositoryItem pPricingModel)
public RepositoryItem getPricingModel()
public void setManualPricingAdjustment(RepositoryItem pManualPricingAdjustment)
public RepositoryItem getManualPricingAdjustment()
public void setAdjustment(double pAdjustment)
public double getAdjustment()
public void setTotalAdjustment(double pTotalAdjustment)
public double getTotalAdjustment()
public void setQuantityAdjusted(long pQuantityAdjusted)
pQuantityAdjusted
- new value to setpublic long getQuantityAdjusted()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |