com.ibm.commerce.returns.commands
Interface CalculateReturnItemAdjustmentPolicyCmd
- All Superinterfaces:
- BusinessPolicyCommand, ECCommand, TaskCommand
- All Known Implementing Classes:
- CalculateReturnItemAdjustmentFlatPolicyCmdImpl, CalculateReturnItemAdjustmentPolicyCmdImpl, CalculateReturnItemAdjustmentPercentagePolicyCmdImpl
- public interface CalculateReturnItemAdjustmentPolicyCmd
- extends BusinessPolicyCommand
Interface for the command used for calculating the adjustment for a return mechandise authorization (RMA) item based on policy.
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
getAdjustment
public java.math.BigDecimal getAdjustment()
- Get the automatically calculated adjustment for the returned/refunded item.
- Returns:
- The amount of the adjustment (in the same currency of the orderItem).
setOrderItemAB
public void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
- (Optional) Set the orderItem being returned/refunded.
- Parameters:
anOrderItemAB
- The orderItem access bean.
setRMAItemAB
public void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
- Set the RMA Item access bean which will have its adjustment updated.
- Parameters:
anRMAItemAB
- The RMA item access bean.