com.ibm.commerce.order.calculation
Interface SetOrderLevelParameterCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
SetOrderLevelParameterCmdImpl

public interface SetOrderLevelParameterCmd
extends TaskCommand

Reserved for IBM internal use.
Sets the order level attachment parameter of a particular order.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 void setAmount(java.math.BigDecimal adAmount)
          Sets the amount.
 void setOrder(OrderAccessBean aabOrder)
          Sets the order.
 void setOrderItems(OrderItemAccessBean[] aabOrderItems)
          Sets the orderitems.
 void setOverride(boolean abOverride)
          Sets whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.
 void setType(java.lang.Integer anType)
          Sets the parameter type: 2 - percentage 3 - fixed
 void setUsageId(java.lang.Integer anUsageId)
           
 
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
Method Detail

setAmount

public void setAmount(java.math.BigDecimal adAmount)
Sets the amount.

setOrder

public void setOrder(OrderAccessBean aabOrder)
Sets the order.

setOrderItems

public void setOrderItems(OrderItemAccessBean[] aabOrderItems)
Sets the orderitems.

setOverride

public void setOverride(boolean abOverride)
Sets whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.

setType

public void setType(java.lang.Integer anType)
Sets the parameter type:

setUsageId

public void setUsageId(java.lang.Integer anUsageId)