public interface CheckApplicabilityCmd extends TaskCommand
The purpose of this command is to check for applicability of the coupons on the shopping cart. The purchase condition are evaluated and the information is put in applicable variable which is used by the calling command.
The input to this command are:
Modifier 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 this interface.
|
Modifier and Type | Method and Description |
---|---|
java.util.Vector[] |
getApplicableItems()
Deprecated.
Returns an array of
Vector where the nth element is
the Vector of order items that satisfy the purchase conditions of
the nth coupon. |
TypedProperty |
getResponseProperties()
Deprecated.
Gets the response properties.
|
boolean[] |
getValidCoupons()
Deprecated.
Gets the array indicating whether the Coupons are applicable or not.
|
void |
setApplicableItems(java.util.Vector[] newApplicableItems)
Deprecated.
Sets the applicable items.
|
void |
setBcIds(java.lang.Long[] paramBcIds)
Deprecated.
Sets the eCoupon IDs.
|
void |
setOrderId(java.lang.Long newOrderId)
Deprecated.
Sets the order IDs.
|
void |
setProcessingContext(CommandContext newProcessingContext)
Deprecated.
Sets the processing context.
|
void |
setRequestProperties(TypedProperty param)
Deprecated.
Sets the request properties.
|
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.Vector[] getApplicableItems()
Vector
where the nth element is
the Vector of order items that satisfy the purchase conditions of
the nth coupon.TypedProperty getResponseProperties()
boolean[] getValidCoupons()
void setBcIds(java.lang.Long[] paramBcIds)
paramBcId
- the coupons to be evaluated.void setOrderId(java.lang.Long newOrderId)
newOrderId
- the order on which the coupons are to be applied.void setProcessingContext(CommandContext newProcessingContext)
newProcessingContext
- the command context to be used in this task command.void setRequestProperties(TypedProperty param)
param
- the new request properties.void setApplicableItems(java.util.Vector[] newApplicableItems)
newApplicableItems
- the applicable items.