com.ibm.commerce.order.calculation

Class DiscountCalculationCodeApplyCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DiscountCalculationCodeApplyCmdImpl

        public DiscountCalculationCodeApplyCmdImpl()
        Constructor for DiscountCalculationCodeApplyCmdImpl.
    • Method Detail

      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class CalculationCmdImpl
        See Also:
        Command.reset()
      • setValues

        public void setValues(java.math.BigDecimal[] adValues)
        Sets the order item adjustment amounts.
        Specified by:
        setValues in interface CalculationCodeApplyCmd
        Parameters:
        adValues - the order item adjustment amounts.
      • setValues

        public void setValues(java.lang.Integer anTaxCategoryId,
                              java.math.BigDecimal[] adValues)
        Sets the order item adjustment amounts.
        Specified by:
        setValues in interface CalculationCodeApplyCmd
        Parameters:
        anTaxCategoryId - the tax category ID. Always null.
        adValues - the order item adjustment amounts.