com.ibm.commerce.returns.commands
Interface CalculateReturnItemAdjustmentCreditCmd

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

public interface CalculateReturnItemAdjustmentCreditCmd
extends TaskCommand

Interface for the command used for calculating the adjustment credit for a return mechandise authorization (RMA) item.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.math.BigDecimal getAdjustmentCredit()
          Get the total calculated adjustment credit for the returned/refunded item.
 void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
          Set the orderItem being returned/refunded.
 void setQuantity(java.lang.Double aQuantity)
          Set the quantity to be credited.
 void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
          Set the RMA Item access bean which will have its adjustment credit updated.
 
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

getAdjustmentCredit

public java.math.BigDecimal getAdjustmentCredit()
Get the total calculated adjustment credit for the returned/refunded item.
Returns:
The total amount of the credit (in the same currency of the orderItem).

setOrderItemAB

public void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
Set the orderItem being returned/refunded.
Parameters:
anOrderItemAB - The orderItem access bean.

setQuantity

public void setQuantity(java.lang.Double aQuantity)
Set the quantity to be credited.
Parameters:
aQuantity - The quantity to be credited.

setRMAItemAB

public void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
Set the RMA Item access bean which will have its adjustment credit updated.
Parameters:
anRMAItemAB - The RMA item access bean.