com.ibm.commerce.couponredemption.commands

Interface CouponDSSTaskCmd

  • 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:
    CouponDSSTaskCmdImpl

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

    public interface CouponDSSTaskCmd
    extends TaskCommand

    This task command is called from the CouponDSSCmd when user selects a set of eCoupons to be used on a set of items in her order.

    The input to this command are :

    • cpwalletIds:Long
          The IDs of eCoupons that were selected for use with this order.
    • orderId:Long
          The order under consideration.
    • itemForcpwalletIds:String
          Optional (multiple: 1 for each coupon): The IDs of the items selected to be used with this coupon.
    • 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 the interface
        See Also:
        Constant Field Values
    • Method Detail

      • getConflicts

        java.util.Hashtable getConflicts()
        Deprecated. 
        Returns the conflict hashtable.
        Returns:
        the hashtable containing the conflict information.
      • getNumCoupons

        int getNumCoupons()
        Deprecated. 
        Returns the number of coupons.
        Returns:
        the number of coupons.
      • isValidSelection

        boolean isValidSelection()
        Deprecated. 
        Returns whether the selection is valid or not.
        Returns:
        true if the selection was valid.
      • setCouponId

        void setCouponId(java.lang.Long[] couponId)
        Deprecated. 
        sets the coupon IDs.
        Parameters:
        couponId - the array of couponIds.
      • setOrderId

        void setOrderId(java.lang.Long orderId)
        Deprecated. 
        sets the order ID.
        Parameters:
        orderId - the order ID for which the coupons are to be applied.
      • getUnQualifiedCoupons

        java.util.Vector getUnQualifiedCoupons()
        Deprecated. 
        Gets the coupons that did not qualify because of insufficient order items to which it applies.
        Returns:
        the coupon that did not qualify.
      • setItemsSelected

        void setItemsSelected(java.util.Hashtable newItemsSelected)
        Deprecated. 
        Sets the items that were selected for the coupons to be applied on. The key of the hashtable is the couponId and the value is array of strings representing the order item IDs.
        Parameters:
        newItemsSelected - hashtable of items being used for coupons.