com.ibm.commerce.couponredemption.commands
Interface FinalizeCouponUsageCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, ECCommand, FinalizeCalculationUsageCmd, TaskCommand

public interface FinalizeCouponUsageCmd
extends FinalizeCalculationUsageCmd

This is a task command that is invoked from ORDERPROCESS command to mark all the eCoupons that are used in the current order preparation.

The input to this command is :

The cpwalletId is found out for the current orderId from ORCPMAP table. Then for each cpwalletId the eCoupon is marked as "Not Usable" in the CPWALLET for the current cpwalletId.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Methods inherited from interface com.ibm.commerce.order.calculation.FinalizeCalculationUsageCmd
setOrder, setOrderItems
 
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from interface com.ibm.commerce.command.BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME