com.ibm.commerce.couponoffer.commands

Interface AcceptCouponFromBannerAdCmd

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

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

    public interface AcceptCouponFromBannerAdCmd
    extends ControllerCommand
    This command creates and puts an eCoupon in the customer's wallet when the customer clicks on a banner ad or an e-mail link to accept an eCoupon.

    The inputs to this command are:

    • promoName:String
      The name of the eCouponPromotion to accept the eCoupon from.
    • acceptedFrom:String
      The medium from which the eCoupon was accepted (optional). Valid values are: 'B', 'E'
    • storeId:Integer
      The ID of the store concerned. Required only if acceptedFrom is not 'B'.
    • shopperEmailId:String
      The e-mail ID of the customer accepting the eCoupon (optional).
    • URL:String
      The URL to which the browser will be redirected (optional).
    ViewNames If the URL was specified, the resulting view will be dictated by it. Otherwise it will use the following views: SearchWalletView : If the coupon was accepted successfully BannerAdErrorView : Otherwise
    • 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