|
|||||||||
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,
double pTotalAdjustment,
long pQuantityAdjusted,
java.lang.Integer pPricingModelIndex)
|
|
PricingAdjustment(java.lang.String pAdjustmentDescription,
RepositoryItem pPricingModel,
double pTotalAdjustment,
long pQuantityAdjusted,
RepositoryItem pCoupon)
|
|
PricingAdjustment(java.lang.String pAdjustmentDescription,
RepositoryItem pPricingModel,
RepositoryItem pManualPricingAdjustment,
double pTotalAdjustment,
long pQuantityAdjusted)
|
|
PricingAdjustment(java.lang.String pAdjustmentDescription,
RepositoryItem pPricingModel,
RepositoryItem pManualPricingAdjustment,
double pTotalAdjustment,
long pQuantityAdjusted,
RepositoryItem pCoupon)
|
Method Summary | |
---|---|
double |
getAdjustment()
The unit price adjustment |
java.lang.String |
getAdjustmentDescription()
Get property AdjustmentDescription |
RepositoryItem |
getCoupon()
The Coupon claimed that caused the pricing model to be granted |
RepositoryItem |
getManualPricingAdjustment()
The manual pricing adjustment that caused this price adjustment |
RepositoryItem |
getPricingModel()
The pricing model that caused this price adjustment |
java.lang.Integer |
getPricingModelIndex()
Get property PricingModelIndex |
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 |
setCoupon(RepositoryItem pCoupon)
|
void |
setManualPricingAdjustment(RepositoryItem pManualPricingAdjustment)
|
void |
setPricingModel(RepositoryItem pPricingModel)
|
void |
setPricingModelIndex(java.lang.Integer pPricingModelIndex)
Set property PricingModelIndex. |
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, double pTotalAdjustment, long pQuantityAdjusted, RepositoryItem pCoupon)
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, RepositoryItem pManualPricingAdjustment, double pTotalAdjustment, long pQuantityAdjusted)
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, RepositoryItem pManualPricingAdjustment, double pTotalAdjustment, long pQuantityAdjusted, RepositoryItem pCoupon)
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, double pTotalAdjustment, long pQuantityAdjusted, java.lang.Integer pPricingModelIndex)
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 setCoupon(RepositoryItem pCoupon)
public RepositoryItem getCoupon()
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 void setPricingModelIndex(java.lang.Integer pPricingModelIndex)
pPricingModelIndex
- index for the pricing modelpublic java.lang.Integer getPricingModelIndex()
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 |