public class UseCouponIdCmdImpl extends ControllerCommandImpl implements UseCouponIdCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long[] | couponId
Deprecated.
The coupons to be used.
|
protected java.util.Vector | iResourceList
Deprecated.
The resources required by this command (for accesscontrol purpose).
|
protected java.lang.Long | orderId
Deprecated.
The order on which coupons are to be applied.
|
protected CommandContext | processingContext
Deprecated.
The command context holder
|
protected boolean | selectionOK
Deprecated.
True if the user inputs are OK.
|
protected java.lang.Long | shopperId
Deprecated.
The customer who has invoked this command.
|
protected java.lang.Integer | storeId
Deprecated.
Store ID for which the order is placed.
|
Constructor and Description |
---|
UseCouponIdCmdImpl()
Deprecated.
UseCouponIdCmdImpl constructor call super.
|
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
Deprecated.
Gets the resourses.
|
void | performExecute()
Deprecated.
If the coupon selection is incorrect then it throws an error page, otherwise, it calls UseCouponIdTaskCmd.
|
void | validateParameters()
Deprecated.
It extracts and validates the parameters.
|
protected java.lang.Long[] couponId
protected CommandContext processingContext
protected java.lang.Long shopperId
protected java.lang.Integer storeId
protected java.lang.Long orderId
protected java.util.Vector iResourceList
protected boolean selectionOK
public UseCouponIdCmdImpl()
public AccessVector getResources() throws ECSystemException
public void performExecute() throws ECException
public void validateParameters() throws ECException