com.ibm.commerce.couponredemption.commands

Interface CalculateDiscountAmtCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    CalculateDiscountAmtCmdImpl

    Deprecated. 
    The WC54 coupon feature will be replaced by the WC56 promotion engine coupon feature.

    public interface CalculateDiscountAmtCmd
    extends TaskCommand

    The purpose of the task command is to computes the discount amount for each eCoupon that satisfy the purchase order conditions of the of the eCoupon.

    The input to this command are :

    • cpwalletIds:Long
          The IDs of the eCoupons.
    • orderId:Integer
          The order under consideration.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.template.commands.TaskCmdTemplate is not defined in the CMDREG table
        See Also:
        Constant Field Values
      • Name

        static final java.lang.String Name
        Deprecated. 
        Name of this interface.
        See Also:
        Constant Field Values
    • Method Detail

      • getResponseProperties

        TypedProperty getResponseProperties()
        Deprecated. 
        Gets the response properties.
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • getReturnTable

        java.util.Hashtable getReturnTable()
        Deprecated. 
        Gets the return table.
        Returns:
        java.util.Hashtable
      • getRspProp

        TypedProperty getRspProp()
        Deprecated. 
        Gets the responce properties.
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • setAppItems

        void setAppItems(java.util.Vector[] paramAppItems)
        Deprecated. 
        Sets the applied items.
        Parameters:
        paramAppItems - java.util.Vector
      • setBcIds

        void setBcIds(java.lang.Long[] paramBcIds)
        Deprecated. 
        Sets the BCIds.
        Parameters:
        paramBcIds - java.lang.Long
      • setOrderId

        void setOrderId(java.lang.Long paramOrderId)
        Deprecated. 
        Sets the orderIds.
        Parameters:
        paramOrderId - java.lang.Long
      • setProcessingContext

        void setProcessingContext(CommandContext newProcessingContext)
        Deprecated. 
        Sets the processing context.
        Parameters:
        newProcessingContext - com.ibm.commerce.command.CommandContext
      • setReqProp

        void setReqProp(TypedProperty paramReqProp)
        Deprecated. 
        Sets the request properties.
        Parameters:
        paramReqProp - com.ibm.commerce.datatype.TypedProperty
      • setRequestProperties

        void setRequestProperties(TypedProperty param)
        Deprecated. 
        Sets the request properties.
        Parameters:
        param - com.ibm.commerce.datatype.TypedProperty