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.
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
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.