com.ibm.commerce.order.calculation
Interface GetOrderLevelParameterCmd

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

public interface GetOrderLevelParameterCmd
extends TaskCommand

Reserved for IBM Internal use.
Returns 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
 java.math.BigDecimal getAmount()
          Gets the adjustment amount.
 java.lang.Integer getType()
          Returns the parameter type: 2 - percentage 3 - fixed
 boolean isOverride()
          Returns whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.
 void setOrder(OrderAccessBean aabOrder)
          Sets the order.
 void setOrderItems(OrderItemAccessBean[] aabOrderItems)
          Sets the orderitems.
 void setUsageId(java.lang.Integer anUsageId)
          Sets the calculation usage.
 
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

getAmount

public java.math.BigDecimal getAmount()
Gets the adjustment amount.

getType

public java.lang.Integer getType()
Returns the parameter type:

isOverride

public boolean isOverride()
Returns whether the directly attached calculation codes will override the indirectly attached calculation codes and the default calculation code.

setOrder

public void setOrder(OrderAccessBean aabOrder)
Sets the order.

setOrderItems

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

setUsageId

public void setUsageId(java.lang.Integer anUsageId)
Sets the calculation usage.