public class PercentOffShippingAdjustment extends PercentOffAdjustment
<p> <Adjustment impl="com.ibm.commerce.marketing.promotion.reward.PercentOffShippingAdjustment"> <PercentOff>10</PercentOff> <!-- wholeOrder or AllAffectedItems or IndividualAffectedItems --> <AdjustmentType>wholeOrder</AdjustmentType> </Adjustment> </p>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
PercentOffShippingAdjustment()
Constructor for PercentOffShippingAdjustment.
|
Modifier and Type | Method and Description |
---|---|
void | fromXML(org.w3c.dom.Node anXMLNode)
Transforms the XML node into its corresponding real Object.
|
java.lang.Integer | getPercentOff()
Deprecated.
USE getPercent() in PercentOffAdjustment.
|
int | getPriceAdjustmentBasis()
This method always return -3 as the DISCOUNTED_PRICE.
|
int | getTheTypeOfMonetaryValueToBeAdjusted()
Returns the target as SHIPPING=2.
|
void | setPercentOff(java.lang.Integer tempPercentOff)
Deprecated.
USE setPercent() in PercentOffAdjustment.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public PercentOffShippingAdjustment()
public int getTheTypeOfMonetaryValueToBeAdjusted()
public java.lang.Integer getPercentOff()
public void setPercentOff(java.lang.Integer tempPercentOff)
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException
public java.lang.String toXML() throws XMLizationException
public int getPriceAdjustmentBasis()