com.ibm.commerce.couponredemption.commands

Interface CouponDSSCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    CouponDSSCmdImpl

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

    public interface CouponDSSCmd
    extends ControllerCommand

    This command is called when user selects a set of eCoupons and items for these coupons to be applied on in an order. For customizability, it simply calls a task command CouponDSSTaskCmd.

    The input to this command are :

    • cpwalletIds:Long
          The IDs of coupons that were selected for use with this order.
    • orderId:Integer
          The order under consideration.
    • itemForcpwalletIds:String
          Optional (multiple: 1 for each coupon): The IDs of the items selected to be used with this coupon.
    • SUCCESS_URL:String
          Optional : The URL to redirect to if the selection was correct.
    • FAILURE_URL:String
          Optional : The URL to redirect to if the selection was incorrect.
    • 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