public class PricingAdjustment
extends java.lang.Object
implements java.io.Serializable
adjustments
list.
Properties:
AmountInfo
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
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,
java.lang.Integer pPricingModelIndex,
java.lang.Integer pPricingModelGroupIndex) |
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) |
Modifier and Type | Method and Description |
---|---|
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 |
getPricingModelGroupIndex()
Gets the PricingModelGroupIndex property
|
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 |
setPricingModelGroupIndex(java.lang.Integer pPricingModelGroupIndex)
Sets the PricingModelGroupIndex property
|
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
|
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)
public PricingAdjustment(java.lang.String pAdjustmentDescription, RepositoryItem pPricingModel, double pTotalAdjustment, long pQuantityAdjusted, java.lang.Integer pPricingModelIndex, java.lang.Integer pPricingModelGroupIndex)
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.Integer getPricingModelGroupIndex()
public void setPricingModelGroupIndex(java.lang.Integer pPricingModelGroupIndex)
pPricingModelGroupIndex
- group index for the pricing modelpublic java.lang.String toString()
toString
in class java.lang.Object