public class ShippingModeFilter extends java.lang.Object implements Filter
<Filter impl="com.ibm.commerce.marketing.promotion.condition.ShippingModeFilter"> <DN>o=Root Organization</DN> <StoreIdentifier>BlueMall Store 201</StoreIdentifier> <Carrier>LLOYD PROMOTERS</Carrier> <ShippingCode>ab0067</ShippingCode> <AdjustmentType>wholeOrder</AdjustmentType> </Filter>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ShippingModeFilter()
Constructor for ShippingModeFilter.
|
Modifier and Type | Method and Description |
---|---|
LineItemSet | filter(LineItemSet input, PromotionContext context)
This method performs the business logic to filter the input LineItemSet and return a subset of the original LineItemSet.
|
void | fromXML(org.w3c.dom.Node anXMLNode)
Transforms the XML node into its corresponding real Object.
|
boolean | getAdjustmentToWholeOrder()
This method checks if the shipping adjustment is for whole order.
|
java.lang.String | getCarrier()
This method gets the shipping carrier.
|
java.lang.String | getDN()
This method gets the DN.
|
java.lang.String | getShippingCode()
This method gets the shipping Code.
|
java.lang.String | getStoreIdentifier()
This method gets the Store Identifier.
|
void | setAdjustmentToWholeOrder(boolean aAdjustmentToWholeOrder)
Set the flag if the shipping adjustment is for whole order.
|
void | setCarrier(java.lang.String aCarrier)
This method sets the shipping carrier.
|
void | setDN(java.lang.String aDN)
This method sets the Distinguished NameDN.
|
void | setShippingCode(java.lang.String aShippingCode)
This method sets the shipping code.
|
void | setStoreIdentifier(java.lang.String aStoreIdentifier)
This method sets the Store Identifier.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public ShippingModeFilter()
public java.lang.String getCarrier()
public java.lang.String getShippingCode()
public java.lang.String getDN()
public java.lang.String getStoreIdentifier()
public boolean getAdjustmentToWholeOrder()
public void setAdjustmentToWholeOrder(boolean aAdjustmentToWholeOrder)
public void setCarrier(java.lang.String aCarrier)
public void setShippingCode(java.lang.String aShippingCode)
public void setDN(java.lang.String aDN)
public void setStoreIdentifier(java.lang.String aStoreIdentifier)
public LineItemSet filter(LineItemSet input, PromotionContext context)
public java.lang.String toXML() throws XMLizationException
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException