com.ibm.commerce.couponredemption.commands
Interface CheckValidityCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CheckValidityCmdImpl

public interface CheckValidityCmd
extends TaskCommand

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 :

The IDs of eCoupons to be checked for expiry.

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 the interface
 
Method Summary
  TypedProperty getResponseProperties()
          Gets the response properties.
 boolean[] getValidCoupons()
          Gets the array indicating whether the Coupons are valid or not.
 void setBcIds(java.lang.Long[] paramBcIds)
          Sets eCoupon IDs.
 void setRequestProperties( TypedProperty param)           Sets the request properties.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

defaultCommandClassName

public static final 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
See Also:
Constant Field Values

Name

public static final java.lang.String Name
Name of the interface
See Also:
Constant Field Values
Method Detail

getResponseProperties

public TypedProperty getResponseProperties()
Gets the response properties.
Returns:
the response properties.

getValidCoupons

public boolean[] getValidCoupons()
Gets the array indicating whether the Coupons are valid or not.
Returns:
array whose nth element indicates if the nth coupon is valid

setBcIds

public void setBcIds(java.lang.Long[] paramBcIds)
Sets eCoupon IDs.

setRequestProperties

public void setRequestProperties(TypedProperty param)
Sets the request properties.
Parameters:
param - the request properties.