com.ibm.commerce.couponredemption.commands
Interface UseCouponIdCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- UseCouponIdCmdImpl
- public interface UseCouponIdCmd
- extends ControllerCommand
This command is invoked when the shopper specifies a set of eCoupon codes explicitly while checking out.
The input to this command is :
The ids of ecoupons that were selected for use with order.
The order under consideration.
If the given set of BCIDs aren't valid for this shopper from the CPWALLET, then an error page is send to the
user. If the above condition is true then, the following steps are performed. The CheckValidityCmd command is called
to find the eCoupons that are not expired and for not expired eCoupons, CheckApplicabilityCmd command is called
to find out which eCoupons are applicable for this order. For applicable coupons, CalculateDiscountAmtCmd command
is called to calculate the discount amount and CouponDSSTaskCmd command is called to check for any conflict.
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
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, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName