com.ibm.commerce.returns.commands
Interface CalculateReturnItemAdjustmentPolicyCmd

All Superinterfaces:
BusinessPolicyCommand, TaskCommand
All Known Implementing Classes:
CalculateReturnItemAdjustmentFlatPolicyCmdImpl, CalculateReturnItemAdjustmentPercentagePolicyCmdImpl, CalculateReturnItemAdjustmentPolicyCmdImpl

public interface CalculateReturnItemAdjustmentPolicyCmd
extends BusinessPolicyCommand

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


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 java.math.BigDecimal getAdjustment()
          Get the automatically calculated adjustment for the returned/refunded item.
 void setOrderItemAB( OrderItemAccessBean anOrderItemAB)
          (Optional) Set the orderItem being returned/refunded.
 void setRMAItemAB( RMAItemAccessBean anRMAItemAB)
          Set the RMA Item access bean which will have its adjustment updated.
 
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

getAdjustment

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

setOrderItemAB

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

setRMAItemAB

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