com.ibm.commerce.couponredemption.commands

Interface CheckApplicabilityCmd

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

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

    public interface CheckApplicabilityCmd
    extends TaskCommand

    The purpose of this command is to check for applicability of the coupons on the shopping cart. The purchase condition are evaluated and the information is put in applicable variable which is used by the calling command.

    The input to this command are:

    • cpwalletIds:Long
          The IDs of eCoupons to be checked for applicability.
    • orderId:Long
          The orderId for which eCoupons are being used.
    • 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

      • getApplicableItems

        java.util.Vector[] getApplicableItems()
        Deprecated. 
        Returns an array of Vector where the nth element is the Vector of order items that satisfy the purchase conditions of the nth coupon.
      • getResponseProperties

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

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

        void setBcIds(java.lang.Long[] paramBcIds)
        Deprecated. 
        Sets the eCoupon IDs.
        Parameters:
        paramBcId - the coupons to be evaluated.
      • setOrderId

        void setOrderId(java.lang.Long newOrderId)
        Deprecated. 
        Sets the order IDs.
        Parameters:
        newOrderId - the order on which the coupons are to be applied.
      • setProcessingContext

        void setProcessingContext(CommandContext newProcessingContext)
        Deprecated. 
        Sets the processing context.
        Parameters:
        newProcessingContext - the command context to be used in this task command.
      • setRequestProperties

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

        void setApplicableItems(java.util.Vector[] newApplicableItems)
        Deprecated. 
        Sets the applicable items.
        Parameters:
        newApplicableItems - the applicable items.