|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.commerce.csr.returns.ItemCostAdjustment
public class ItemCostAdjustment
Details the adjustments made to the cost of an item/shipping group relationship.
Objects of this type are generated during an return or exchange and detail the cost adjustments to the items.
These adjustment objects are summed to determine the refund values.
The following are the adjustment properties:
ReturnTools.createItemCostAdjustment()
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected double |
mAmountAdjustment
|
protected java.lang.String |
mCommerceItemId
|
protected double |
mManualAdjustmentShareAdjustment
|
protected double |
mOrderDiscountShareAdjustment
|
protected long |
mQuantityAdjusted
|
protected java.lang.String |
mShippingGroupId
|
protected double |
mShippingShareAdjustment
|
protected double |
mTaxShareAdjustment
|
Constructor Summary | |
---|---|
ItemCostAdjustment()
|
Method Summary | |
---|---|
boolean |
containsAdjustments()
Returns true if this object contains any adjustments. |
double |
getAmountAdjustment()
|
java.lang.String |
getCommerceItemId()
|
double |
getManualAdjustmentShareAdjustment()
|
double |
getOrderDiscountShareAdjustment()
|
long |
getQuantityAdjusted()
|
java.lang.String |
getShippingGroupId()
|
double |
getShippingShareAdjustment()
|
double |
getTaxShareAdjustment()
|
void |
setAmountAdjustment(double pAmountAdjustment)
|
void |
setCommerceItemId(java.lang.String pCommerceItemId)
|
void |
setManualAdjustmentShareAdjustment(double pManualAdjustmentShareAdjustment)
|
void |
setOrderDiscountShareAdjustment(double pOrderDiscountShareAdjustment)
|
void |
setQuantityAdjusted(long pQuantityAdjusted)
|
void |
setShippingGroupId(java.lang.String pShippingGroupId)
|
void |
setShippingShareAdjustment(double pShippingShareAdjustment)
|
void |
setTaxShareAdjustment(double pTaxShareAdjustment)
|
java.lang.String |
toString()
Produces a String representation for this ItemAdjustment |
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
protected long mQuantityAdjusted
protected double mAmountAdjustment
protected double mOrderDiscountShareAdjustment
protected double mShippingShareAdjustment
protected double mTaxShareAdjustment
protected double mManualAdjustmentShareAdjustment
protected java.lang.String mCommerceItemId
protected java.lang.String mShippingGroupId
Constructor Detail |
---|
public ItemCostAdjustment()
Method Detail |
---|
public long getQuantityAdjusted()
public void setQuantityAdjusted(long pQuantityAdjusted)
public double getAmountAdjustment()
public void setAmountAdjustment(double pAmountAdjustment)
public double getOrderDiscountShareAdjustment()
public void setOrderDiscountShareAdjustment(double pOrderDiscountShareAdjustment)
public double getShippingShareAdjustment()
public void setShippingShareAdjustment(double pShippingShareAdjustment)
public double getTaxShareAdjustment()
public void setTaxShareAdjustment(double pTaxShareAdjustment)
public double getManualAdjustmentShareAdjustment()
public void setManualAdjustmentShareAdjustment(double pManualAdjustmentShareAdjustment)
public java.lang.String getCommerceItemId()
public void setCommerceItemId(java.lang.String pCommerceItemId)
public java.lang.String getShippingGroupId()
public void setShippingGroupId(java.lang.String pShippingGroupId)
public boolean containsAdjustments()
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 |