com.ibm.commerce.couponredemption.commands

Interface CheckValidityCmd

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

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

    public interface CheckValidityCmd
    extends TaskCommand

    The purpose of this command is to check each of the eCoupons for expiry and put the information in expired variable which is used by the calling commands.

    The input to this command is :

    • cpwalletIds:Long
          The IDs of eCoupons to be checked for expiry.
    • 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

      • getResponseProperties

        TypedProperty getResponseProperties()
        Deprecated. 
        Gets the response properties.
        Returns:
        the response properties.
      • getValidCoupons

        boolean[] getValidCoupons()
        Deprecated. 
        Gets the array indicating whether the Coupons are valid or not.
        Returns:
        array whose nth element indicates if the nth coupon is valid
      • setBcIds

        void setBcIds(java.lang.Long[] paramBcIds)
        Deprecated. 
        Sets eCoupon IDs.
        Parameters:
        paramBcId - The coupons to be checked for validity
      • setRequestProperties

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