com.ibm.commerce.couponredemption.commands

Interface UseCouponIdTaskCmd

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

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

    public interface UseCouponIdTaskCmd
    extends TaskCommand
    This command is invoked when the customer specifies a set of eCoupon codes explicitly while checking out.

    The input to this command is :

    • couponIds:Long
          The IDs of ecoupons that were selected for use with order.
    • 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

      • getConflicts

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

        java.lang.Integer getErrorCode()
        Deprecated. 
        Returns the error code.
        Returns:
        the error code.
      • getInvalidCoupons

        java.util.Vector getInvalidCoupons()
        Deprecated. 
        Returns the invalid coupons.
        Returns:
        the invalid coupons.
      • getNumCoupons

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

        boolean isValidSelection()
        Deprecated. 
        Returns true if the selection was valid.
        Returns:
        true if the selection was valid.
      • setCouponIds

        void setCouponIds(java.lang.Long[] param)
        Deprecated. 
        Sets the couponIds.
        Parameters:
        param - array of coupon IDs.
      • setOrderId

        void setOrderId(java.lang.Long param)
        Deprecated. 
        Sets the orderId.
        Parameters:
        param - the order ID.
      • setRequestProperties

        void setRequestProperties(TypedProperty param)
        Deprecated. 
        Sets the request properties.
        Parameters:
        param - the request properties.
      • setShopperId

        void setShopperId(java.lang.Long paramShopperId)
        Deprecated. 
        Sets the shopperId.
        Parameters:
        paramShopperId - the customer ID of the invoking customer.
      • setKeepPrevious

        void setKeepPrevious(boolean keepPrevious)
        Deprecated. 
        Sets the keepPrevious.
        Parameters:
        keepPrevious - The keepPrevious to set