public interface CouponDSSTaskCmd extends TaskCommand
This task command is called from the CouponDSSCmd
when user selects a set of
eCoupons to be used on a set of items in her order.
The input to this command are :
cpwalletIds
:StringModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
IBM copyright notice field.
|
static java.lang.String |
defaultCommandClassName
Deprecated.
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
Deprecated.
Name of the interface
|
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable |
getConflicts()
Deprecated.
Returns the conflict hashtable.
|
int |
getNumCoupons()
Deprecated.
Returns the number of coupons.
|
java.util.Vector |
getUnQualifiedCoupons()
Deprecated.
Gets the coupons that did not qualify because of insufficient order items to which it applies.
|
boolean |
isValidSelection()
Deprecated.
Returns whether the selection is valid or not.
|
void |
setCouponId(java.lang.Long[] couponId)
Deprecated.
sets the coupon IDs.
|
void |
setItemsSelected(java.util.Hashtable newItemsSelected)
Deprecated.
Sets the items that were selected for the coupons to be applied on.
|
void |
setOrderId(java.lang.Long orderId)
Deprecated.
sets the order ID.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String Name
java.util.Hashtable getConflicts()
int getNumCoupons()
boolean isValidSelection()
void setCouponId(java.lang.Long[] couponId)
couponId
- the array of couponIds.void setOrderId(java.lang.Long orderId)
orderId
- the order ID for which the coupons are to be applied.java.util.Vector getUnQualifiedCoupons()
void setItemsSelected(java.util.Hashtable newItemsSelected)
newItemsSelected
- hashtable of items being used for coupons.