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. A StoreAccessBean must be passed in the command context
Inputs
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName The default implementation class name is "com.ibm.commerce.returns.commands.CalculateReturnItemCreditForCatEntryCmdImpl" . |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.returns.commands.CalculateReturnItemCreditForCataEntryCmd". |
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. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
---|
public void setCatEntryId(java.lang.Long aCatEntryId)
aCatEntryId
- The catalog entry Id.public void setQuantity(java.lang.Double aQuantity)
aQuantity
- The quantity to be credited.public void setRMAAB(RMAAccessBean anRMAAB)
anRMAAB
- The RMA access bean.public void setRMAItemAB(RMAItemAccessBean anRMAItemAB)
anRMAItemAB
- The RMA item access bean.