public class InternalRuleEngineExecutePriceRuleCmdImpl extends TaskCommandImpl implements RuleEngineExecutePriceRuleCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
InternalRuleEngineExecutePriceRuleCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map | getCatentryIDToPriceListIDMap()
Get price list ID.
|
java.lang.String | getContractId()
Get contractId.
|
com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] | getFinalPrice()
Get finalPrice.
|
com.ibm.commerce.price.rule.PriceRuleParameterObject[] | getPriceRuleParameterObject()
Get priceRuleParameterObject.
|
protected com.ibm.commerce.price.rule.runtime.objects.PriceRuleOutputObject | getPriceWithPriceRuleEngine(java.lang.String aPriceRuleId, java.lang.String aContractId, java.lang.String aCatentryId, java.lang.Double aQuantity, java.lang.String aUom, java.lang.String aCurrency, java.util.Map aExtDataMap, com.ibm.commerce.price.rule.runtime.objects.PriceRuleOutputObject aPrOutputObject)
Invoke price rule engine to get the final price.
|
java.lang.String | getRuleId()
Get priceRuleId.
|
void | performExecute()
The main logic to execute the command.
|
void | setContractId(java.lang.String newContractId)
Set the contractId.
|
void | setFinalPrice(com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] newFinalPrice)
Set the finalPrice.
|
void | setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
Set the priceRuleParameterObject.
|
void | setRuleId(java.lang.String newPriceRuleId)
Set the priceRuleId.
|
void | validateParameters()
The method validates the parameters.
|
public static final java.lang.String COPYRIGHT
public InternalRuleEngineExecutePriceRuleCmdImpl()
public java.lang.String getContractId()
public void setContractId(java.lang.String newContractId)
public java.lang.String getRuleId()
public void setRuleId(java.lang.String newPriceRuleId)
public com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] getFinalPrice()
public java.util.Map getCatentryIDToPriceListIDMap()
public void setFinalPrice(com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] newFinalPrice)
public com.ibm.commerce.price.rule.PriceRuleParameterObject[] getPriceRuleParameterObject()
public void setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
public void performExecute() throws ECException
public void validateParameters() throws ECException
protected com.ibm.commerce.price.rule.runtime.objects.PriceRuleOutputObject getPriceWithPriceRuleEngine(java.lang.String aPriceRuleId, java.lang.String aContractId, java.lang.String aCatentryId, java.lang.Double aQuantity, java.lang.String aUom, java.lang.String aCurrency, java.util.Map aExtDataMap, com.ibm.commerce.price.rule.runtime.objects.PriceRuleOutputObject aPrOutputObject)