com.ibm.commerce.returns.commands

Class CalculateReturnItemProductCreditCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CalculateReturnItemProductCreditCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class CalculateReturnItemProductCreditCmdImpl
    extends TaskCommandImpl
    implements CalculateReturnItemProductCreditCmd
    Default implementation of the CalculateReturnItemProductCreditCmd interface. Calculate the amount of the original order item product price that this return merchandise authorization (RMA) item qualifies for. This implementation calculates:
    • product credit = roundCustomize(ORDERITEMS.PRICE * QUANTITY being returned) if the quantity being returned < the quantity purchased originally.
    • product credit = ORDERITEMS.
    If the limit amount is not null and the limit amount is < the product credit. Then the product credit is set equal to the limit amount. (This implementation has no limit).

    Utilizes these access beans

    See Also:
    Serialized Form
    • Constructor Detail

      • CalculateReturnItemProductCreditCmdImpl

        public CalculateReturnItemProductCreditCmdImpl()
        CalculateReturnItemProductCreditCmdImpl constructor.