Interface for the command used for calculating the automatic product credit for the return mechandise authorization (RMA) item. This is the amount of the product price that the RMA item qualifies for. A StoreAccessBean must be passed in the command context
Inputs
Outputs
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName The default implementation class name is "com.ibm.commerce.returns.commands.CalculateReturnItemProductCreditCmdImpl" . |
static java.lang.String |
NAME The name of this interface is "com.ibm.commerce.returns.commands.CalculateReturnItemProductCreditCmd". |
Method Summary | |
---|---|
java.math.BigDecimal |
getProductCredit() Get the automatically calculated product 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. |
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 java.math.BigDecimal getProductCredit()
public void setOrderItemAB(OrderItemAccessBean anOrderItemAB)
anOrderItemAB
- The orderItem access bean.public void setQuantity(java.lang.Double aQuantity)
aQuantity
- The quantity to be credited.