com.ibm.commerce.couponoffer.commands
Interface AcceptCouponFromBannerAdCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- AcceptCouponFromBannerAdCmdImpl
- 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:
The name of the eCouponPromotion to accept the eCoupon from.
The medium from which the eCoupon was accepted (optional). Valid values are: 'B', 'E'
The ID of the store concerned. Required only if acceptedFrom is not 'B'.
The e-mail ID of the customer accepting the eCoupon (optional).
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 Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName
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 |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- 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
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.