public class CouponDSSCmdImpl extends ControllerCommandImpl implements CouponDSSCmd
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long[] | couponId
Deprecated.
The IDs of the coupons to be applied to this order
|
protected java.lang.String | currency
Deprecated.
Currency to be used in discount amount calculation.
|
protected java.util.Hashtable | itemsSelected
Deprecated.
This hashtable stores the mapping from the couponIds to the array of orderitemIds that the coupon applies to.
|
protected int | numCoupons
Deprecated.
Number of coupons to be applied to this order, essentially length of couponId.
|
protected java.lang.Long | orderId
Deprecated.
ID of the order
|
protected CommandContext | processingContext
Deprecated.
The command context holder
|
protected boolean | selectionOK
Deprecated.
Indicates whether the parameters were properly formed.
|
Constructor and Description |
---|
CouponDSSCmdImpl()
Deprecated.
CouponDSSCmdImpl constructor, call super.
|
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
Deprecated.
Gets the resources for eCoupon promotion.
|
boolean | isReadyToCallExecute()
Deprecated.
It always returns true.
|
void | performExecute()
Deprecated.
For customizability, it simply calls a task command CouponDSSTaskCmd.
|
void | trace(java.lang.String traceString)
Deprecated.
Trace the debug info only.
|
void | validateParameters()
Deprecated.
It validates the parameters.
|
protected java.lang.Long[] couponId
protected int numCoupons
protected java.lang.Long orderId
protected CommandContext processingContext
protected java.lang.String currency
protected boolean selectionOK
protected java.util.Hashtable itemsSelected
public CouponDSSCmdImpl()
public AccessVector getResources() throws ECSystemException
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void validateParameters() throws ECException
public void trace(java.lang.String traceString)