public class TotalCostFilter extends java.lang.Object implements Filter
<Filter impl="com.ibm.commerce.marketing.promotion.condition.TotalCostFilter"> <TotalCost>200</TotalCost> <Currency>CAD</Currency> </Filter>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
TotalCostFilter()
Constructor for TotalCostFilter.
|
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.
|
java.lang.String | getCurrency()
This method gets the Currency.
|
java.math.BigDecimal | getTotalCost()
This method gets the TotalCost.
|
void | setCurrency(java.lang.String theCurrency)
This method sets the currency
|
void | setTotalCost(java.math.BigDecimal theCost)
This method sets the TotalCost.
|
java.lang.String | toXML()
Converts the object into its corresponding XML format representation.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getCurrency()
public java.math.BigDecimal getTotalCost()
public void setCurrency(java.lang.String theCurrency)
public void setTotalCost(java.math.BigDecimal theCost)
public LineItemSet filter(LineItemSet input, PromotionContext context)
public java.lang.String toXML() throws XMLizationException
public void fromXML(org.w3c.dom.Node anXMLNode) throws DeXMLizationException