This command is invoked when the customer specifies a set of eCoupon codes explicitly while checking out.
The input to this command is :
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 |
static java.lang.String |
Name Name of this interface |
Method Summary | |
---|---|
java.util.Hashtable |
getConflicts() Returns the conflicts. |
java.lang.Integer |
getErrorCode() Returns the error code. |
java.util.Vector |
getInvalidCoupons() Returns the invalid coupons. |
int |
getNumCoupons() Returns the number of coupons. |
boolean |
isValidSelection() Returns true if the selection was valid. |
void |
setCouponIds(java.lang.Long[] param) Sets the couponIds. |
void |
setKeepPrevious(boolean keepPrevious) Sets the keepPrevious. |
void |
setOrderId(java.lang.Long param) Sets the orderId. |
void |
setRequestProperties(
TypedProperty param) Sets the request properties. |
void |
setShopperId(java.lang.Long paramShopperId)
Sets the shopperId. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String Name
Method Detail |
---|
public java.util.Hashtable getConflicts()
public java.lang.Integer getErrorCode()
public java.util.Vector getInvalidCoupons()
public int getNumCoupons()
public boolean isValidSelection()
public void setCouponIds(java.lang.Long[] param)
param
- array of coupon IDs.public void setOrderId(java.lang.Long param)
param
- the order ID.public void setRequestProperties(TypedProperty param)
param
- the request properties.public void setShopperId(java.lang.Long paramShopperId)
paramShopperId
- the customer ID of the invoking
customer.public void setKeepPrevious(boolean keepPrevious)
keepPrevious
- The keepPrevious to set