com.ibm.commerce.returns.commands
Interface CalculateReturnItemCreditForCatEntryCmd

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

public interface CalculateReturnItemCreditForCatEntryCmd
extends TaskCommand

Interface for the command used for calculating the automatic credit for the return mechandise authorization (RMA) item based on a cat entry. The CREDITAMOUNT, ADJUSTMENTCREDIT and charges are calculated.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 void setCatEntryId(java.lang.Long aCatEntryId)
          Set the catEntry Id.
 void setQuantity(java.lang.Double aQuantity)
          Set the quantity to be credited.
 void setRMAAB(RMAAccessBean anRMAAB)
          Set the RMA for which the refund is being requested.
 void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
          Set the RMA Item access bean which will have its amounts 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

setCatEntryId

public void setCatEntryId(java.lang.Long aCatEntryId)
Set the catEntry Id.
Parameters:
aCatEntryId - The catalog entry Id.

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.