| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.commerce.pricing.result.PriceAdjustment
public class PriceAdjustment
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| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSIONClass version string | 
| Constructor Summary | |
|---|---|
| PriceAdjustment()Constructors | |
| PriceAdjustment(java.lang.String pDescription,
                java.lang.String pPricingModelId,
                double pTotalAdjustment,
                long pQuantityAdjusted) | |
| Method Summary | |
|---|---|
|  java.lang.String | getDescription()Get property Description | 
|  java.lang.String | getPricingModelId()The pricing model that caused this price adjustment | 
|  long | getQuantityAdjusted()Get property QuantityAdjusted | 
|  double | getTotalAdjustment()The total price adjustment | 
|  void | setDescription(java.lang.String pDescription)Set property Description | 
|  void | setPricingModelId(java.lang.String pPricingModelId) | 
|  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 PriceAdjustment()
public PriceAdjustment(java.lang.String pDescription,
                       java.lang.String pPricingModelId,
                       double pTotalAdjustment,
                       long pQuantityAdjusted)
| Method Detail | 
|---|
public void setDescription(java.lang.String pDescription)
pDescription - new value to setpublic java.lang.String getDescription()
public void setPricingModelId(java.lang.String pPricingModelId)
public java.lang.String getPricingModelId()
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 | ||||||||