com.ibm.commerce.returns.commands
Interface CalculateReturnItemCreditCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CalculateReturnItemCreditCmdImpl
- public interface CalculateReturnItemCreditCmd
- extends TaskCommand
Interface for the command used for calculating the automatic credit for a return mechandise authorization (RMA) item associated
with a complete order item. The CREDITAMOUNT, ADJUSTMENTCREDIT and charges are calculated.
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
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.
setRMAAB
public void setRMAAB(RMAAccessBean anRMAAB)
- Set the RMA for which the refund is being requested.
- Parameters:
anRMAAB
- The RMA access bean.
setRMAItemAB
public void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
- Set the RMA Item access bean which will have its amounts updated.
- Parameters:
anRMAItemAB
- The RMA item access bean.