|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The purpose of this command is to check each of the eCoupons for expiry and put the information in expired variable which is used by the calling commands.
The input to this command is :
For each cpwalletId the cppmnId is found out. Then the endDate is found out corresponding to this cppmn and if this endDate is after the current time, the coupon is not expired. These above steps are performed for each cpwalletId.
Field Summary | |
static java.lang.String |
COPYRIGHT
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 |
defaultCommandClassName
|
static java.lang.String |
Name
|
Method Summary | |
TypedProperty |
getResponseProperties()
Get the response properties. |
boolean[] |
getValidCoupons()
Get the valid eCoupons. |
void |
setBcIds(java.lang.Long[] paramBcIds)
Set eCoupon ids. |
void |
setRequestProperties(TypedProperty param)
Set the request properties. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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 TypedProperty getResponseProperties()
public boolean[] getValidCoupons()
public void setBcIds(java.lang.Long[] paramBcIds)
paramBcId
- java.lang.Longpublic void setRequestProperties(TypedProperty param)
param
- com.ibm.commerce.datatype.TypedProperty
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |