public class OrderLevelShippingDiscount extends RLOrderLevelPromotion
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The copyright information.
|
Constructor and Description |
---|
OrderLevelShippingDiscount()
OrderLevelShippingDiscount Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void | fromSpecificXML(java.lang.String xml)
Populate this promotion object specific fields from a nonBlaze XML representation.
|
java.lang.String | generatePromotionSpecificRuleXML()
Generates the OrderLevelShippingDiscount type specific rule XML.
|
int | getAdjustmentType()
AdjustmentType is used for shipping adjustment base: 0: whole order 1: AllAffectedItems 2: IndividualAffectedItems
|
java.lang.String | getShippingMode()
Gets the shipping mode.
|
void | populatePromotionSpecificDataFrom(java.util.Map h)
This method is used to populate the RlPromotion class attributes.
|
void | populatePromotionSpecificDataFrom(java.lang.String xmlString)
Populate the specific data from XML String.
|
void | setAdjustmentType(int customerAdjustmentType)
Sets the adjustment type.
|
void | setShippingMode(java.lang.String newShippingMode)
Sets the shipping mode.
|
protected java.lang.String | toSpecificXML()
Generate the specific part of nonBlaze XML representation.
|
public static final java.lang.String COPYRIGHT
public OrderLevelShippingDiscount()
public java.lang.String generatePromotionSpecificRuleXML()
public java.lang.String getShippingMode()
public int getAdjustmentType()
public void populatePromotionSpecificDataFrom(java.lang.String xmlString)
public void setShippingMode(java.lang.String newShippingMode)
public void setAdjustmentType(int customerAdjustmentType)
public void populatePromotionSpecificDataFrom(java.util.Map h) throws ParameterNotFoundException
protected java.lang.String toSpecificXML()
protected void fromSpecificXML(java.lang.String xml)