com.ibm.commerce.order.calculation
Interface PercentageCalculationRangeCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, CalculationRangeCmd, ECCommand, TaskCommand
All Known Implementing Classes:
PercentageCalculationRangeCmdImpl

public interface PercentageCalculationRangeCmd
extends CalculationRangeCmd

This version of the CalculationRange command returns the calculation range lookup result multiplied by the base monetary value then divided by 100.
If the RangeLookupResult has a currency, throw an exception. Otherwise, return a MonetaryResult that represents the RangeLookupResult divided by 100 and then multiplied by the part of the "base monetary value" that is applicable to this calculation.

See Also:
CalculationRangeCmd

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationRangeCmd
getValue, setBaseMonetaryValue, setLookupNumber, setLookupResult, setRange
 
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME